


var mixpanel=mixpanel||[];




(function(){




geolocation = {};
geolocation.requestGeo=function(c){geolocation.cdn3Requested=+new Date;var b=document.head||document.getElementsByTagName("head")[0]||document.documentElement,a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src=c;b.insertBefore(a,b.firstChild)};


var optly={nativity:{}};optly.nativity.getNativeGetElementsByClassName=function(){var a=document.getElementsByClassName;if(!optly.nativity.isNativeFunction(a))var a=(window.optimizely||{}).getElementsByClassName,b=(window.optly||{}).getElementsByClassName,a=optly.nativity.isNativeFunction(a)?a:optly.nativity.isNativeFunction(b)?b:null;return a};optly.nativity.isNativeFunction=function(a){return a&&-1!==String(a).indexOf("[native code]")};optly.Cleanse={};optly.Cleanse.each=function(a,b,d){var h=!!Object.prototype.__lookupGetter__,e=!!Object.prototype.__lookupSetter__,c;for(c in a)if(a.hasOwnProperty(c)){var f=h?a.__lookupGetter__(c):null,g=e?a.__lookupSetter__(c):null;try{b.call(d,c,!f?a[c]:null,f,g)}catch(i){}}};
optly.Cleanse.finish=function(){if(optly.Cleanse.running){optly.Cleanse.running=!1;optly.Cleanse.each(optly.Cleanse.types,function(a,d){Object.prototype.__defineGetter__&&optly.Cleanse.each(optly.Cleanse.getters[a],function(c,b){d.prototype.__defineGetter__(c,b);optly.Cleanse.log("restored getter",a,c)});Object.prototype.__defineSetter__&&optly.Cleanse.each(optly.Cleanse.setters[a],function(c,b){d.prototype.__defineSetter__(c,b);optly.Cleanse.log("restored setter",a,c)});optly.Cleanse.each(optly.Cleanse.properties[a],
function(b,f){d.prototype[b]=f;optly.Cleanse.log("restored property",a,b)})});optly.Cleanse.unfixGetElementsByClassName();optly.Cleanse.log("finish");var a=window.console;if((-1!==window.location.hash.indexOf("optimizely_log=true")||-1!==window.location.search.indexOf("optimizely_log=true"))&&a&&a.log)for(var b=optly.Cleanse.logs,d=0;d<b.length;d++)a.log(b[d])}};
optly.Cleanse.log=function(a,b,d){b?(b=b.replace(/_/g,""),optly.Cleanse.logs.push("Optimizely / Info / Cleanse / "+a+": "+b+"."+d)):optly.Cleanse.logs.push("Optimizely / Info / Cleanse / "+a)};
optly.Cleanse.start=function(){var a=window.location.hostname;if(!(-1!==a.indexOf("optimizely")&&-1===a.indexOf("edit")&&-1===a.indexOf("preview")&&-1===a.indexOf("test")))if(optly.Cleanse.running)optly.Cleanse.log("already running so didn't start");else{optly.Cleanse.log("start");optly.Cleanse.running=!0;for(var b in optly.Cleanse.types)optly.Cleanse.types[b]||delete optly.Cleanse.types[b];optly.Cleanse.each(optly.Cleanse.types,function(a,b){optly.Cleanse.getters[a]={};optly.Cleanse.properties[a]=
{};optly.Cleanse.setters[a]={};optly.Cleanse.each(b.prototype,function(e,c,f,g){optly.nativity.isNativeFunction(c)||optly.nativity.isNativeFunction(f)||optly.nativity.isNativeFunction(g)?optly.Cleanse.log("ignore native code",a,e):(f?(optly.Cleanse.getters[a][e]=f,optly.Cleanse.log("cleansed getter",a,e)):(optly.Cleanse.properties[a][e]=c,optly.Cleanse.log("cleansed property",a,e)),g&&(optly.Cleanse.setters[a][e]=g,optly.Cleanse.log("cleansed setter",a,e)),delete b.prototype[e])})});optly.Cleanse.fixGetElementsByClassName();
optly.Cleanse.hasRunStart=!0}};optly.Cleanse.fixGetElementsByClassName=function(){if(!optly.nativity.isNativeFunction(document.getElementsByClassName)){var a=optly.nativity.getNativeGetElementsByClassName();a?(optly.Cleanse.getElementsByClassName=document.getElementsByClassName,document.getElementsByClassName=a):optly.Cleanse.log("Error: native HTMLElement.prototype.getElementsByClassName missing")}};
optly.Cleanse.unfixGetElementsByClassName=function(){optly.Cleanse.getElementsByClassName&&(document.getElementsByClassName=optly.Cleanse.getElementsByClassName,optly.Cleanse.getElementsByClassName=null)};optly.Cleanse.getElementsByClassName=null;optly.Cleanse.getters={};optly.Cleanse.logs=[];optly.Cleanse.properties={};optly.Cleanse.setters={};optly.Cleanse.types={Object_:Object};window.optly=window.optly||{};window.optly.Cleanse={finish:optly.Cleanse.finish,logs:optly.Cleanse.logs,start:optly.Cleanse.start};
optly.Cleanse.start();
var $=function(r,m){function ya(a,b,c){if(c===m&&1===a.nodeType)if(c="data-"+b.replace(kb,"-$1").toLowerCase(),c=a.getAttribute(c),"string"===typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:!d.isNaN(c)?parseFloat(c):lb.test(c)?d.parseJSON(c):c}catch(g){}d.data(a,b,c)}else c=m;return c}function ha(a){for(var b in a)if("toJSON"!==b)return!1;return!0}function za(a,b,c){var g=b+"defer",e=b+"queue",f=b+"mark",h=d.data(a,g,m,!0);h&&(("queue"===c||!d.data(a,e,m,!0))&&("mark"===c||!d.data(a,
f,m,!0)))&&setTimeout(function(){!d.data(a,e,m,!0)&&!d.data(a,f,m,!0)&&(d.removeData(a,g,!0),h.resolve())},0)}function w(){return!1}function O(){return!0}function Aa(a,b,c){var g=d.extend({},c[0]);g.type=a;g.originalEvent={};g.liveFired=m;d.event.handle.call(b,g);g.isDefaultPrevented()&&c[0].preventDefault()}function mb(a){var b,c,g,e,f,h,i,j,k,m,l,q=[];e=[];f=d._data(this,"events");if(!(a.liveFired===this||!f||!f.live||a.target.disabled||a.button&&"click"===a.type)){a.namespace&&(l=RegExp("(^|\\.)"+
a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var n=f.live.slice(0);for(i=0;i<n.length;i++)f=n[i],f.origType.replace(ia,"")===a.type?e.push(f.selector):n.splice(i--,1);e=d(a.target).closest(e,a.currentTarget);j=0;for(k=e.length;j<k;j++){m=e[j];for(i=0;i<n.length;i++)if(f=n[i],m.selector===f.selector&&(!l||l.test(f.namespace))&&!m.elem.disabled){h=m.elem;g=null;if("mouseenter"===f.preType||"mouseleave"===f.preType)a.type=f.preType,(g=d(a.relatedTarget).closest(f.selector)[0])&&
d.contains(h,g)&&(g=h);(!g||g!==h)&&q.push({elem:h,handleObj:f,level:m.level})}}j=0;for(k=q.length;j<k;j++){e=q[j];if(c&&e.level>c)break;a.currentTarget=e.elem;a.data=e.handleObj.data;a.handleObj=e.handleObj;l=e.handleObj.origHandler.apply(e.elem,arguments);if(!1===l||a.isPropagationStopped())if(c=e.level,!1===l&&(b=!1),a.isImmediatePropagationStopped())break}return b}}function P(a,b){return(a&&"*"!==a?a+".":"")+b.replace(nb,"`").replace(ob,"&")}function Ba(a,b,c){b=b||0;if(d.isFunction(b))return d.grep(a,
function(a,g){return!!b.call(a,g,a)===c});if(b.nodeType)return d.grep(a,function(a){return a===b===c});if("string"===typeof b){var g=d.grep(a,function(a){return 1===a.nodeType});if(pb.test(b))return d.filter(b,g,!c);b=d.filter(b,g)}return d.grep(a,function(a){return 0<=d.inArray(a,b)===c})}function Ca(a,b){if(1===b.nodeType&&d.hasData(a)){var c=d.expando,g=d.data(a),e=d.data(b,g);if(g=g[c]){var f=g.events,e=e[c]=d.extend({},g);if(f){delete e.handle;e.events={};for(var h in f){c=0;for(g=f[h].length;c<
g;c++)d.event.add(b,h+(f[h][c].namespace?".":"")+f[h][c].namespace,f[h][c],f[h][c].data)}}}}}function Da(a,b){var c;if(1===b.nodeType){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);c=b.nodeName.toLowerCase();if("object"===c)b.outerHTML=a.outerHTML;else if("input"===c&&("checkbox"===a.type||"radio"===a.type)){if(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value)b.value=a.value}else if("option"===c)b.selected=a.defaultSelected;else if("input"===c||
"textarea"===c)b.defaultValue=a.defaultValue;b.removeAttribute(d.expando)}}function Q(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Ea(a){if("checkbox"===a.type||"radio"===a.type)a.defaultChecked=a.checked}function Fa(a){d.nodeName(a,"input")?Ea(a):"getElementsByTagName"in a&&d.grep(a.getElementsByTagName("input"),Ea)}function qb(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval((b.text||b.textContent||
b.innerHTML||"").replace(rb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function Ga(a,b,c){var g="width"===b?a.offsetWidth:a.offsetHeight,e="width"===b?sb:tb;if(0<g)return"border"!==c&&d.each(e,function(){c||(g-=parseFloat(d.css(a,"padding"+this))||0);g="margin"===c?g+(parseFloat(d.css(a,c+this))||0):g-(parseFloat(d.css(a,"border"+this+"Width"))||0)}),g+"px";g=A(a,b,b);if(0>g||null==g)g=a.style[b]||0;g=parseFloat(g)||0;c&&d.each(e,function(){g+=parseFloat(d.css(a,"padding"+this))||0;"padding"!==
c&&(g+=parseFloat(d.css(a,"border"+this+"Width"))||0);"margin"===c&&(g+=parseFloat(d.css(a,c+this))||0)});return g+"px"}var l=r.document,d,Ha=function(){if(!k.isReady){try{l.documentElement.doScroll("left")}catch(a){setTimeout(Ha,1);return}k.ready()}},k=function(a,b){return new k.fn.init(a,b,Ia)},ub=r.jQuery,vb=r.$,Ia,wb=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Ja=/\S/,Ka=/^\s+/,La=/\s+$/,xb=/\d/,yb=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,zb=/^[\],:{}\s]*$/,Ab=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,Bb=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
Cb=/(?:^|:|,)(?:\s*\[)+/g,Db=/(webkit)[ \/]([\w.]+)/,Eb=/(opera)(?:.*version)?[ \/]([\w.]+)/,Fb=/(msie) ([\w.]+)/,Gb=/(mozilla)(?:.*? rv:([\w.]+))?/,Hb=/-([a-z]|[0-9])/ig,Ib=/^-ms-/,Jb=function(a,b){return(b+"").toUpperCase()},Kb=r.navigator.userAgent,R,S,B,Lb=Object.prototype.toString,ja=Object.prototype.hasOwnProperty,ka=Array.prototype.push,I=Array.prototype.slice,Ma=String.prototype.trim,Na=Array.prototype.indexOf,Oa={};k.fn=k.prototype={constructor:k,init:function(a,b,c){var g;if(!a)return this;
if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if("body"===a&&!b&&l.body)return this.context=l,this[0]=l.body,this.selector=a,this.length=1,this;if("string"===typeof a){if((g="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:wb.exec(a))&&(g[1]||!b)){if(g[1])return c=(b=b instanceof k?b[0]:b)?b.ownerDocument||b:l,(a=yb.exec(a))?k.isPlainObject(b)?(a=[l.createElement(a[1])],k.fn.attr.call(a,b,!0)):a=[c.createElement(a[1])]:(a=k.buildFragment([g[1]],[c]),a=(a.cacheable?
k.clone(a.fragment):a.fragment).childNodes),k.merge(this,a);if((b=l.getElementById(g[2]))&&b.parentNode){if(b.id!==g[2])return c.find(a);this.length=1;this[0]=b}this.context=l;this.selector=a;return this}return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a)}if(k.isFunction(a))return c.ready(a);a.selector!==m&&(this.selector=a.selector,this.context=a.context);return k.makeArray(a,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return I.call(this,
0)},get:function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a,b,c){var g=this.constructor();k.isArray(a)?ka.apply(g,a):k.merge(g,a);g.prevObject=this;g.context=this.context;"find"===b?g.selector=this.selector+(this.selector?" ":"")+c:b&&(g.selector=this.selector+"."+b+"("+c+")");return g},each:function(a,b){return k.each(this,a,b)},ready:function(a){k.bindReady();S.done(a);return this},eq:function(a){return-1===a?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},
last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice",I.call(arguments).join(","))},map:function(a){return this.pushStack(k.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ka,sort:[].sort,splice:[].splice};k.fn.init.prototype=k.fn;k.extend=k.fn.extend=function(){var a,b,c,g,d,f=arguments[0]||{},h=1,i=arguments.length,j=!1;"boolean"===typeof f&&(j=f,f=arguments[1]||{},h=2);"object"!==
typeof f&&!k.isFunction(f)&&(f={});i===h&&(f=this,--h);for(;h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=f[b],g=a[b],f!==g&&(j&&g&&(k.isPlainObject(g)||(d=k.isArray(g)))?(d?(d=!1,c=c&&k.isArray(c)?c:[]):c=c&&k.isPlainObject(c)?c:{},f[b]=k.extend(j,c,g)):g!==m&&(f[b]=g));return f};k.extend({noConflict:function(a){r.$===k&&(r.$=vb);a&&r.jQuery===k&&(r.jQuery=ub);return k},isReady:!1,readyWait:1,holdReady:function(a){a?k.readyWait++:k.ready(!0)},ready:function(a){if(!0===a&&!--k.readyWait||!0!==a&&
!k.isReady){if(!l.body)return setTimeout(k.ready,1);k.isReady=!0;!0!==a&&0<--k.readyWait||(S.resolveWith(l,[k]),k.fn.trigger&&k(l).trigger("ready").unbind("ready"))}},bindReady:function(){if(!S){S=k._Deferred();if("complete"===l.readyState)return setTimeout(k.ready,1);if(l.addEventListener)l.addEventListener("DOMContentLoaded",B,!1),r.addEventListener("load",k.ready,!1);else if(l.attachEvent){l.attachEvent("onreadystatechange",B);r.attachEvent("onload",k.ready);var a=!1;try{a=null==r.frameElement}catch(b){}l.documentElement.doScroll&&
a&&Ha()}}},isFunction:function(a){return"function"===k.type(a)},isArray:Array.isArray||function(a){return"array"===k.type(a)},isWindow:function(a){return a&&"object"===typeof a&&"setInterval"in a},isNaN:function(a){return null==a||!xb.test(a)||isNaN(a)},type:function(a){return null==a?String(a):Oa[Lb.call(a)]||"object"},isPlainObject:function(a){if(!a||"object"!==k.type(a)||a.nodeType||k.isWindow(a))return!1;try{if(a.constructor&&!ja.call(a,"constructor")&&!ja.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}for(var c in a);
return c===m||ja.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a;},parseJSON:function(a){if("string"!==typeof a||!a)return null;a=k.trim(a);if(r.JSON&&r.JSON.parse)return r.JSON.parse(a);if(zb.test(a.replace(Ab,"@").replace(Bb,"]").replace(Cb,"")))return(new Function("return "+a))();k.error("Invalid JSON: "+a)},parseXML:function(a){var b,c;try{r.DOMParser?(c=new DOMParser,b=c.parseFromString(a,"text/xml")):(b=new ActiveXObject("Microsoft.XMLDOM"),b.async=
"false",b.loadXML(a))}catch(g){b=m}(!b||!b.documentElement||b.getElementsByTagName("parsererror").length)&&k.error("Invalid XML: "+a);return b},noop:function(){},globalEval:function(a){a&&Ja.test(a)&&(r.execScript||function(a){r.eval.call(r,a)})(a)},camelCase:function(a){return a.replace(Ib,"ms-").replace(Hb,Jb)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,c){var g,d=0,f=a.length,h=f===m||k.isFunction(a);if(c)if(h)for(g in a){if(!1===b.apply(a[g],
c))break}else for(;d<f&&!1!==b.apply(a[d++],c););else if(h)for(g in a){if(!1===b.call(a[g],g,a[g]))break}else for(;d<f&&!1!==b.call(a[d],d,a[d++]););return a},trim:Ma?function(a){return null==a?"":Ma.call(a)}:function(a){return null==a?"":a.toString().replace(Ka,"").replace(La,"")},makeArray:function(a,b){var c=b||[];if(null!=a){var g=k.type(a);null==a.length||"string"===g||"function"===g||"regexp"===g||k.isWindow(a)?ka.call(c,a):k.merge(c,a)}return c},inArray:function(a,b){if(!b)return-1;if(Na)return Na.call(b,
a);for(var c=0,g=b.length;c<g;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,g=0;if("number"===typeof b.length)for(var d=b.length;g<d;g++)a[c++]=b[g];else for(;b[g]!==m;)a[c++]=b[g++];a.length=c;return a},grep:function(a,b,c){for(var g=[],d,c=!!c,f=0,h=a.length;f<h;f++)d=!!b(a[f],f),c!==d&&g.push(a[f]);return g},map:function(a,b,c){var g,d,f=[],h=0,i=a.length;if(a instanceof k||i!==m&&"number"===typeof i&&(0<i&&a[0]&&a[i-1]||0===i||k.isArray(a)))for(;h<i;h++)g=b(a[h],h,c),null!=
g&&(f[f.length]=g);else for(d in a)g=b(a[d],d,c),null!=g&&(f[f.length]=g);return f.concat.apply([],f)},guid:1,proxy:function(a,b){if("string"===typeof b)var c=a[b],b=a,a=c;if(!k.isFunction(a))return m;var d=I.call(arguments,2),c=function(){return a.apply(b,d.concat(I.call(arguments)))};c.guid=a.guid=a.guid||c.guid||k.guid++;return c},access:function(a,b,c,d,e,f){var h=a.length;if("object"===typeof b){for(var i in b)k.access(a,i,b[i],d,e,c);return a}if(c!==m){d=!f&&d&&k.isFunction(c);for(i=0;i<h;i++)e(a[i],
b,d?c.call(a[i],i,e(a[i],b)):c,f);return a}return h?e(a[0],b):m},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=Db.exec(a)||Eb.exec(a)||Fb.exec(a)||0>a.indexOf("compatible")&&Gb.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,d){return new a.fn.init(b,d)}k.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(c,d){d&&(d instanceof k&&!(d instanceof a))&&(d=a(d));return k.fn.init.call(this,
c,d,b)};a.fn.init.prototype=a.fn;var b=a(l);return a},browser:{}});k.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){Oa["[object "+b+"]"]=b.toLowerCase()});R=k.uaMatch(Kb);R.browser&&(k.browser[R.browser]=!0,k.browser.version=R.version);k.browser.webkit&&(k.browser.safari=!0);Ja.test("\u00a0")&&(Ka=/^[\s\xA0]+/,La=/[\s\xA0]+$/);Ia=k(l);l.addEventListener?B=function(){l.removeEventListener("DOMContentLoaded",B,false);k.ready()}:l.attachEvent&&(B=function(){if(l.readyState===
"complete"){l.detachEvent("onreadystatechange",B);k.ready()}});d=k;var la="done fail isResolved isRejected promise then always pipe".split(" "),Pa=[].slice;d.extend({_Deferred:function(){var a=[],b,c,g,e={done:function(){if(!g){var c=arguments,h,i,j,k,m;if(b){m=b;b=0}h=0;for(i=c.length;h<i;h++){j=c[h];k=d.type(j);k==="array"?e.done.apply(e,j):k==="function"&&a.push(j)}m&&e.resolveWith(m[0],m[1])}return this},resolveWith:function(d,e){if(!g&&!b&&!c){e=e||[];c=1;try{for(;a[0];)a.shift().apply(d,e)}finally{b=
[d,e];c=0}}return this},resolve:function(){e.resolveWith(this,arguments);return this},isResolved:function(){return!(!c&&!b)},cancel:function(){g=1;a=[];return this}};return e},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),g;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(a,c){return d.Deferred(function(g){d.each({done:[a,
"resolve"],fail:[c,"reject"]},function(a,c){var f=c[0],e=c[1],k;if(d.isFunction(f))b[a](function(){if((k=f.apply(this,arguments))&&d.isFunction(k.promise))k.promise().then(g.resolve,g.reject);else g[e+"With"](this===b?g:this,[k])});else b[a](g[e])})}).promise()},promise:function(a){if(a==null){if(g)return g;g=a={}}for(var c=la.length;c--;)a[la[c]]=b[la[c]];return a}});b.done(c.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(a){return function(b){c[a]=arguments.length>
1?Pa.call(arguments,0):b;--f||h.resolveWith(h,Pa.call(c,0))}}var c=arguments,g=0,e=c.length,f=e,h=e<=1&&a&&d.isFunction(a.promise)?a:d.Deferred();if(e>1){for(;g<e;g++)c[g]&&d.isFunction(c[g].promise)?c[g].promise().then(b(g),h.reject):--f;f||h.resolveWith(h,c)}else h!==a&&h.resolveWith(h,e?[a]:[]);return h.promise()}});var Mb=d,ma;var o=l.createElement("div"),Nb=l.documentElement,na,C,T,U,u,D,s,V,J,W,x,X,K,Y,E,F;o.setAttribute("className","t");o.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
na=o.getElementsByTagName("*");C=o.getElementsByTagName("a")[0];if(!na||!na.length||!C)ma={};else{T=l.createElement("select");U=T.appendChild(l.createElement("option"));u=o.getElementsByTagName("input")[0];s={leadingWhitespace:3===o.firstChild.nodeType,tbody:!o.getElementsByTagName("tbody").length,htmlSerialize:!!o.getElementsByTagName("link").length,style:/top/.test(C.getAttribute("style")),hrefNormalized:"/a"===C.getAttribute("href"),opacity:/^0.55$/.test(C.style.opacity),cssFloat:!!C.style.cssFloat,
checkOn:"on"===u.value,optSelected:U.selected,getSetAttribute:"t"!==o.className,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};u.checked=!0;s.noCloneChecked=u.cloneNode(!0).checked;T.disabled=!0;s.optDisabled=!U.disabled;try{delete o.test}catch(jc){s.deleteExpando=!1}!o.addEventListener&&(o.attachEvent&&o.fireEvent)&&(o.attachEvent("onclick",function(){s.noCloneEvent=false}),o.cloneNode(!0).fireEvent("onclick"));
u=l.createElement("input");u.value="t";u.setAttribute("type","radio");s.radioValue="t"===u.value;u.setAttribute("checked","checked");o.appendChild(u);V=l.createDocumentFragment();V.appendChild(o.firstChild);s.checkClone=V.cloneNode(!0).cloneNode(!0).lastChild.checked;o.innerHTML="";o.style.width=o.style.paddingLeft="1px";J=l.getElementsByTagName("body")[0];x=l.createElement(J?"div":"body");X={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};J&&d.extend(X,{position:"absolute",
left:"-1000px",top:"-1000px"});for(E in X)x.style[E]=X[E];x.appendChild(o);W=J||Nb;W.insertBefore(x,W.firstChild);s.appendChecked=u.checked;s.boxModel=2===o.offsetWidth;"zoom"in o.style&&(o.style.display="inline",o.style.zoom=1,s.inlineBlockNeedsLayout=2===o.offsetWidth,o.style.display="",o.innerHTML="<div style='width:4px;'></div>",s.shrinkWrapBlocks=2!==o.offsetWidth);o.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";K=o.getElementsByTagName("td");
F=0===K[0].offsetHeight;K[0].style.display="";K[1].style.display="none";s.reliableHiddenOffsets=F&&0===K[0].offsetHeight;o.innerHTML="";l.defaultView&&l.defaultView.getComputedStyle&&(D=l.createElement("div"),D.style.width="0",D.style.marginRight="0",o.appendChild(D),s.reliableMarginRight=0===(parseInt((l.defaultView.getComputedStyle(D,null)||{marginRight:0}).marginRight,10)||0));x.innerHTML="";W.removeChild(x);if(o.attachEvent)for(E in{submit:1,change:1,focusin:1})Y="on"+E,F=Y in o,F||(o.setAttribute(Y,
"return;"),F="function"===typeof o[Y]),s[E+"Bubbles"]=F;x=V=T=U=J=D=o=u=null;ma=s}Mb.support=ma;d.boxModel=d.support.boxModel;var lb=/^(?:\{.*\}|\[.*\])$/,kb=/([A-Z])/g;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!ha(a)},data:function(a,b,c,g){if(d.acceptData(a)){var e=d.expando,f=typeof b==="string",
h=a.nodeType,i=h?d.cache:a,j=h?a[d.expando]:a[d.expando]&&d.expando;if(j&&(!g||!j||!i[j]||i[j][e])||!(f&&c===m)){if(!j)h?a[d.expando]=j=++d.uuid:j=d.expando;if(!i[j]){i[j]={};if(!h)i[j].toJSON=d.noop}if(typeof b==="object"||typeof b==="function")g?i[j][e]=d.extend(i[j][e],b):i[j]=d.extend(i[j],b);a=i[j];if(g){a[e]||(a[e]={});a=a[e]}c!==m&&(a[d.camelCase(b)]=c);if(b==="events"&&!a[b])return a[e]&&a[e].events;if(f){c=a[b];c==null&&(c=a[d.camelCase(b)])}else c=a;return c}}},removeData:function(a,b,c){if(d.acceptData(a)){var g,
e=d.expando,f=a.nodeType,h=f?d.cache:a,i=f?a[d.expando]:d.expando;if(h[i]){if(b)if(g=c?h[i][e]:h[i]){g[b]||(b=d.camelCase(b));delete g[b];if(!ha(g))return}if(c){delete h[i][e];if(!ha(h[i]))return}b=h[i][e];d.support.deleteExpando||!h.setInterval?delete h[i]:h[i]=null;if(b){h[i]={};if(!f)h[i].toJSON=d.noop;h[i][e]=b}else f&&(d.support.deleteExpando?delete a[d.expando]:a.removeAttribute?a.removeAttribute(d.expando):a[d.expando]=null)}}},_data:function(a,b,c){return d.data(a,b,c,true)},acceptData:function(a){if(a.nodeName){var b=
d.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});d.fn.extend({data:function(a,b){var c=null;if(typeof a==="undefined"){if(this.length){c=d.data(this[0]);if(this[0].nodeType===1)for(var g=this[0].attributes,e,f=0,h=g.length;f<h;f++){e=g[f].name;if(e.indexOf("data-")===0){e=d.camelCase(e.substring(5));ya(this[0],e,c[e])}}}return c}if(typeof a==="object")return this.each(function(){d.data(this,a)});var i=a.split(".");i[1]=i[1]?"."+i[1]:"";if(b===
m){c=this.triggerHandler("getData"+i[1]+"!",[i[0]]);if(c===m&&this.length){c=d.data(this[0],a);c=ya(this[0],a,c)}return c===m&&i[1]?this.data(i[0]):c}return this.each(function(){var c=d(this),g=[i[0],b];c.triggerHandler("setData"+i[1]+"!",g);d.data(this,a,b);c.triggerHandler("changeData"+i[1]+"!",g)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}});d.extend({_mark:function(a,b){if(a){b=(b||"fx")+"mark";d.data(a,b,(d.data(a,b,m,true)||0)+1,true)}},_unmark:function(a,b,
c){if(a!==true){c=b;b=a;a=false}if(b){var c=c||"fx",g=c+"mark";if(a=a?0:(d.data(b,g,m,true)||1)-1)d.data(b,g,a,true);else{d.removeData(b,g,true);za(b,c,"mark")}}},queue:function(a,b,c){if(a){var b=(b||"fx")+"queue",g=d.data(a,b,m,true);c&&(!g||d.isArray(c)?g=d.data(a,b,d.makeArray(c),true):g.push(c));return g||[]}},dequeue:function(a,b){var b=b||"fx",c=d.queue(a,b),g=c.shift();g==="inprogress"&&(g=c.shift());if(g){b==="fx"&&c.unshift("inprogress");g.call(a,function(){d.dequeue(a,b)})}if(!c.length){d.removeData(a,
b+"queue",true);za(a,b,"queue")}}});d.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}return b===m?d.queue(this[0],a):this.each(function(){var c=d.queue(this,a,b);a==="fx"&&c[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function b(){--f||
c.resolveWith(g,[g])}typeof a!=="string"&&(a=m);for(var a=a||"fx",c=d.Deferred(),g=this,e=g.length,f=1,h=a+"defer",i=a+"queue",a=a+"mark",j;e--;)if(j=d.data(g[e],h,m,true)||(d.data(g[e],i,m,true)||d.data(g[e],a,m,true))&&d.data(g[e],h,d._Deferred(),true)){f++;j.done(b)}b();return c.promise()}});var Qa=/[\n\t\r]/g,oa=/\s+/,Ob=/\r/g,Pb=/^(?:button|input)$/i,Qb=/^(?:button|input|object|select|textarea)$/i,Rb=/^a(?:rea)?$/i,Ra=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
y,Sa;d.fn.extend({attr:function(a,b){return d.access(this,a,b,true,d.attr)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,a)})},prop:function(a,b){return d.access(this,a,b,true,d.prop)},removeProp:function(a){a=d.propFix[a]||a;return this.each(function(){try{this[a]=m;delete this[a]}catch(b){}})},addClass:function(a){var b,c,g,e,f,h,i;if(d.isFunction(a))return this.each(function(b){d(this).addClass(a.call(this,b,this.className))});if(a&&typeof a==="string"){b=a.split(oa);c=
0;for(g=this.length;c<g;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{f=" "+e.className+" ";h=0;for(i=b.length;h<i;h++)~f.indexOf(" "+b[h]+" ")||(f=f+(b[h]+" "));e.className=d.trim(f)}}}return this},removeClass:function(a){var b,c,g,e,f,h,i;if(d.isFunction(a))return this.each(function(b){d(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a==="string"||a===m){b=(a||"").split(oa);c=0;for(g=this.length;c<g;c++){e=this[c];if(e.nodeType===1&&e.className)if(a){f=
(" "+e.className+" ").replace(Qa," ");h=0;for(i=b.length;h<i;h++)f=f.replace(" "+b[h]+" "," ");e.className=d.trim(f)}else e.className=""}}return this},toggleClass:function(a,b){var c=typeof a,g=typeof b==="boolean";return d.isFunction(a)?this.each(function(c){d(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string")for(var e,f=0,h=d(this),i=b,j=a.split(oa);e=j[f++];){i=g?i:!h.hasClass(e);h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean"){this.className&&
d._data(this,"__className__",this.className);this.className=this.className||a===false?"":d._data(this,"__className__")||""}})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(Qa," ").indexOf(a)>-1)return true;return false},val:function(a){var b,c,g=this[0];if(!arguments.length){if(g){if((b=d.valHooks[g.nodeName.toLowerCase()]||d.valHooks[g.type])&&"get"in b&&(c=b.get(g,"value"))!==m)return c;c=g.value;return typeof c===
"string"?c.replace(Ob,""):c==null?"":c}return m}var e=d.isFunction(a);return this.each(function(c){var g=d(this);if(this.nodeType===1){c=e?a.call(this,c,g.val()):a;c==null?c="":typeof c==="number"?c=c+"":d.isArray(c)&&(c=d.map(c,function(a){return a==null?"":a+""}));b=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type];if(!b||!("set"in b)||b.set(this,c,"value")===m)this.value=c}})}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},
select:{get:function(a){var b,c=a.selectedIndex,g=[],e=a.options,a=a.type==="select-one";if(c<0)return null;for(var f=a?c:0,h=a?c+1:e.length;f<h;f++){b=e[f];if(b.selected&&(d.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!d.nodeName(b.parentNode,"optgroup"))){b=d(b).val();if(a)return b;g.push(b)}}return a&&!g.length&&e.length?d(e[c]).val():g},set:function(a,b){var c=d.makeArray(b);d(a).find("option").each(function(){this.selected=d.inArray(d(this).val(),
c)>=0});if(!c.length)a.selectedIndex=-1;return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,b,c,g){var e=a.nodeType;if(!a||e===3||e===8||e===2)return m;if(g&&b in d.attrFn)return d(a)[b](c);if(!("getAttribute"in a))return d.prop(a,b,c);var f,h;if(g=e!==1||!d.isXMLDoc(a)){b=d.attrFix[b]||b;(h=d.attrHooks[b])||(Ra.test(b)?h=Sa:y&&(h=y))}if(c!==m){if(c===null){d.removeAttr(a,b);return m}if(h&&"set"in h&&g&&(f=h.set(a,c,
b))!==m)return f;a.setAttribute(b,""+c);return c}if(h&&"get"in h&&g&&(f=h.get(a,b))!==null)return f;f=a.getAttribute(b);return f===null?m:f},removeAttr:function(a,b){var c;if(a.nodeType===1){b=d.attrFix[b]||b;d.attr(a,b,"");a.removeAttribute(b);if(Ra.test(b)&&(c=d.propFix[b]||b)in a)a[c]=false}},attrHooks:{type:{set:function(a,b){if(Pb.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&b==="radio"&&d.nodeName(a,"input")){var c=a.value;a.setAttribute("type",
b);if(c)a.value=c;return b}}},value:{get:function(a,b){return y&&d.nodeName(a,"button")?y.get(a,b):b in a?a.value:null},set:function(a,b,c){if(y&&d.nodeName(a,"button"))return y.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,c){var g=
a.nodeType;if(!a||g===3||g===8||g===2)return m;var e,f;if(g!==1||!d.isXMLDoc(a)){b=d.propFix[b]||b;f=d.propHooks[b]}return c!==m?f&&"set"in f&&(e=f.set(a,c,b))!==m?e:a[b]=c:f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Qb.test(a.nodeName)||Rb.test(a.nodeName)&&a.href?0:m}}}});d.attrHooks.tabIndex=d.propHooks.tabIndex;Sa={get:function(a,b){var c;return d.prop(a,b)===true||(c=a.getAttributeNode(b))&&
c.nodeValue!==false?b.toLowerCase():m},set:function(a,b,c){if(b===false)d.removeAttr(a,c);else{b=d.propFix[c]||c;b in a&&(a[b]=true);a.setAttribute(c,c.toLowerCase())}return c}};d.support.getSetAttribute||(y=d.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&c.nodeValue!==""?c.nodeValue:m},set:function(a,b,c){var d=a.getAttributeNode(c);if(!d){d=l.createAttribute(c);a.setAttributeNode(d)}return d.nodeValue=b+""}},d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],
{set:function(a,d){if(d===""){a.setAttribute(b,"auto");return d}}})}));d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return a===null?m:a}})});d.support.style||(d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||m},set:function(a,b){return a.style.cssText=""+b}});d.support.optSelected||(d.propHooks.selected=d.extend(d.propHooks.selected,{get:function(a){if(a=a.parentNode){a.selectedIndex;
a.parentNode&&a.parentNode.selectedIndex}return null}}));d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});d.each(["radio","checkbox"],function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(a,b){if(d.isArray(b))return a.checked=d.inArray(d(a).val(),b)>=0}})});var ia=/\.(.*)$/,pa=/^(?:textarea|input|select)$/i,nb=/\./g,ob=/ /g,Sb=/[^\w\s.|`]/g,Tb=function(a){return a.replace(Sb,"\\$&")};d.event=
{add:function(a,b,c,g){if(!(a.nodeType===3||a.nodeType===8)){if(c===false)c=w;else if(!c)return;var e,f;if(c.handler){e=c;c=e.handler}if(!c.guid)c.guid=d.guid++;if(f=d._data(a)){var h=f.events,i=f.handle;if(!h)f.events=h={};if(!i)f.handle=i=function(a){return typeof d!=="undefined"&&(!a||d.event.triggered!==a.type)?d.event.handle.apply(i.elem,arguments):m};i.elem=a;for(var b=b.split(" "),j,k=0,l;j=b[k++];){f=e?d.extend({},e):{handler:c,data:g};if(j.indexOf(".")>-1){l=j.split(".");j=l.shift();f.namespace=
l.slice(0).sort().join(".")}else{l=[];f.namespace=""}f.type=j;if(!f.guid)f.guid=c.guid;var n=h[j],q=d.event.special[j]||{};if(!n){n=h[j]=[];if(!q.setup||q.setup.call(a,g,l,i)===false)a.addEventListener?a.addEventListener(j,i,false):a.attachEvent&&a.attachEvent("on"+j,i)}if(q.add){q.add.call(a,f);if(!f.handler.guid)f.handler.guid=c.guid}n.push(f);d.event.global[j]=true}a=null}}},global:{},remove:function(a,b,c,g){if(!(a.nodeType===3||a.nodeType===8)){c===false&&(c=w);var e,f,h=0,i,j,k,l,n,q,p=d.hasData(a)&&
d._data(a),o=p&&p.events;if(p&&o){if(b&&b.type){c=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in o)d.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[h++];){l=e;i=e.indexOf(".")<0;j=[];if(!i){j=e.split(".");e=j.shift();k=RegExp("(^|\\.)"+d.map(j.slice(0).sort(),Tb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(n=o[e])if(c){l=d.event.special[e]||{};for(f=g||0;f<n.length;f++){q=n[f];if(c.guid===q.guid){if(i||k.test(q.namespace)){g==null&&n.splice(f--,1);l.remove&&l.remove.call(a,
q)}if(g!=null)break}}if(n.length===0||g!=null&&n.length===1){(!l.teardown||l.teardown.call(a,j)===false)&&d.removeEvent(a,e,p.handle);delete o[e]}}else for(f=0;f<n.length;f++){q=n[f];if(i||k.test(q.namespace)){d.event.remove(a,l,q.handler,f);n.splice(f--,1)}}}if(d.isEmptyObject(o)){if(b=p.handle)b.elem=null;delete p.events;delete p.handle;d.isEmptyObject(p)&&d.removeData(a,m,true)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,b,c,g){var e=a.type||a,f=[],h;if(e.indexOf("!")>=
0){e=e.slice(0,-1);h=true}if(e.indexOf(".")>=0){f=e.split(".");e=f.shift();f.sort()}if(c&&!d.event.customEvent[e]||d.event.global[e]){a=typeof a==="object"?a[d.expando]?a:new d.Event(e,a):new d.Event(e);a.type=e;a.exclusive=h;a.namespace=f.join(".");a.namespace_re=RegExp("(^|\\.)"+f.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!c){a.preventDefault();a.stopPropagation()}if(c){if(!(c.nodeType===3||c.nodeType===8)){a.result=m;a.target=c;b=b!=null?d.makeArray(b):[];b.unshift(a);f=c;g=e.indexOf(":")<0?"on"+
e:"";do{h=d._data(f,"handle");a.currentTarget=f;h&&h.apply(f,b);if(g&&d.acceptData(f)&&f[g]&&f[g].apply(f,b)===false){a.result=false;a.preventDefault()}f=f.parentNode||f.ownerDocument||f===a.target.ownerDocument&&r}while(f&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var i,f=d.event.special[e]||{};if((!f._default||f._default.call(c.ownerDocument,a)===false)&&!(e==="click"&&d.nodeName(c,"a"))&&d.acceptData(c)){try{if(g&&c[e]){(i=c[g])&&(c[g]=null);d.event.triggered=e;c[e]()}}catch(j){}i&&
(c[g]=i);d.event.triggered=m}}return a.result}}else d.each(d.cache,function(){var c=this[d.expando];c&&(c.events&&c.events[e])&&d.event.trigger(a,b,c.handle.elem)})}},handle:function(a){var a=d.event.fix(a||r.event),b=((d._data(this,"events")||{})[a.type]||[]).slice(0),c=!a.exclusive&&!a.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=a;a.currentTarget=this;for(var e=0,f=b.length;e<f;e++){var h=b[e];if(c||a.namespace_re.test(h.namespace)){a.handler=h.handler;a.data=h.data;a.handleObj=h;h=
h.handler.apply(this,g);if(h!==m){a.result=h;if(h===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;
for(var b=a,a=d.Event(b),c=this.props.length,g;c;){g=this.props[--c];a[g]=b[g]}if(!a.target)a.target=a.srcElement||l;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){c=a.target.ownerDocument||l;b=c.documentElement;c=c.body;a.pageX=a.clientX+(b&&b.scrollLeft||c&&c.scrollLeft||0)-(b&&b.clientLeft||c&&c.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||c&&c.scrollTop||
0)-(b&&b.clientTop||c&&c.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==m)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,P(a.origType,a.selector),d.extend({},a,{handler:mb,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,P(a.origType,
a.selector),a)}},beforeunload:{setup:function(a,b,c){if(d.isWindow(this))this.onbeforeunload=c},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};d.removeEvent=l.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,false)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};d.Event=function(a,b){if(!this.preventDefault)return new d.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||
a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?O:w}else this.type=a;b&&d.extend(this,b);this.timeStamp=d.now();this[d.expando]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=O;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=O;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
O;this.stopPropagation()},isDefaultPrevented:w,isPropagationStopped:w,isImmediatePropagationStopped:w};var Ta=function(a){var b=a.relatedTarget,c=false,g=a.type;a.type=a.data;if(b!==this){b&&(c=d.contains(this,b));if(!c){d.event.handle.apply(this,arguments);a.type=g}}},Ua=function(a){a.type=a.data;d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?Ua:Ta,a)},teardown:function(a){d.event.remove(this,
b,a&&a.selector?Ua:Ta)}}});d.support.submitBubbles||(d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return false;d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=d.nodeName(b,"input")||d.nodeName(b,"button")?b.type:"";(c==="submit"||c==="image")&&d(b).closest("form").length&&Aa("submit",this,arguments)});d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=d.nodeName(b,"input")||d.nodeName(b,"button")?b.type:"";(c==="text"||c==="password")&&
(d(b).closest("form").length&&a.keyCode===13)&&Aa("submit",this,arguments)})},teardown:function(){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var L,Va=function(a){var b=d.nodeName(a,"input")?a.type:"",c=a.value;if(b==="radio"||b==="checkbox")c=a.checked;else if(b==="select-multiple")c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"";else if(d.nodeName(a,"select"))c=a.selectedIndex;return c},Z=function(a,b){var c=a.target,g,e;if(pa.test(c.nodeName)&&
!c.readOnly){g=d._data(c,"_change_data");e=Va(c);(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",e);if(!(g===m||e===g))if(g!=null||e){a.type="change";a.liveFired=m;d.event.trigger(a,b,c)}}};d.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,c=d.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||d.nodeName(b,"select"))&&Z.call(this,a)},keydown:function(a){var b=a.target,c=d.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!d.nodeName(b,
"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&Z.call(this,a)},beforeactivate:function(a){a=a.target;d._data(a,"_change_data",Va(a))}},setup:function(){if(this.type==="file")return false;for(var a in L)d.event.add(this,a+".specialChange",L[a]);return pa.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return pa.test(this.nodeName)}};L=d.event.special.change.filters;L.focus=L.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin",
blur:"focusout"},function(a,b){function c(a){var c=d.event.fix(a);c.type=b;c.originalEvent={};d.event.trigger(c,null,c.target);c.isDefaultPrevented()&&a.preventDefault()}var g=0;d.event.special[b]={setup:function(){g++===0&&l.addEventListener(a,c,true)},teardown:function(){--g===0&&l.removeEventListener(a,c,true)}}});d.each(["bind","one"],function(a,b){d.fn[b]=function(a,g,e){var f;if(typeof a==="object"){for(var h in a)this[b](h,g,a[h],e);return this}if(arguments.length===2||g===false){e=g;g=m}if(b===
"one"){f=function(a){d(this).unbind(a,f);return e.apply(this,arguments)};f.guid=e.guid||d.guid++}else f=e;if(a==="unload"&&b!=="one")this.one(a,g,e);else{h=0;for(var i=this.length;h<i;h++)d.event.add(this[h],a,f,g)}return this}});d.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var c in a)this.unbind(c,a[c]);else{c=0;for(var g=this.length;c<g;c++)d.event.remove(this[c],a,b)}return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===
0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return d.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,c=a.guid||d.guid++,g=0,e=function(c){var e=(d.data(this,"lastToggle"+a.guid)||0)%g;d.data(this,"lastToggle"+a.guid,e+1);c.preventDefault();return b[e].apply(this,arguments)||false};for(e.guid=c;g<b.length;)b[g++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});var qa={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,b){d.fn[b]=function(a,g,e,f){var h=0,i,j,k=f||this.selector,l=f?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(i in a)l[b](i,g,a[i],k);return this}if(b==="die"&&!a&&f&&f.charAt(0)==="."){l.unbind(f);return this}if(g===false||d.isFunction(g)){e=g||w;g=m}for(a=(a||"").split(" ");(f=a[h++])!=null;){i=ia.exec(f);j="";if(i){j=i[0];f=f.replace(ia,"")}if(f==="hover")a.push("mouseenter"+
j,"mouseleave"+j);else{i=f;if(qa[f]){a.push(qa[f]+j);f=f+j}else f=(qa[f]||f)+j;if(b==="live"){j=0;for(var n=l.length;j<n;j++)d.event.add(l[j],"live."+P(f,k),{data:g,selector:k,handler:e,origType:f,origHandler:e,preType:i})}else l.unbind("live."+P(f,k),e)}}return this}});d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=
function(a,d){if(d==null){d=a;a=null}return arguments.length>0?this.bind(b,a,d):this.trigger(b)};d.attrFn&&(d.attrFn[b]=true)});var Wa=function(a,b,c,d,e,f){for(var e=0,h=d.length;e<h;e++){var i=d[e];if(i){for(var j=false,i=i[a];i;){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1&&!f){i.sizcache=c;i.sizset=e}if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[e]=j}}},Xa=function(a,b,c,d,e,f){for(var e=0,h=d.length;e<h;e++){var i=d[e];if(i){for(var j=false,i=i[a];i;){if(i.sizcache===c){j=
d[i.sizset];break}if(i.nodeType===1){if(!f){i.sizcache=c;i.sizset=e}if(typeof b!=="string"){if(i===b){j=true;break}}else if(n.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[e]=j}}},ra=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,sa=0,Ya=Object.prototype.toString,aa=!1,Za=!0,G=/\\/g,ba=/\W/;[0,0].sort(function(){Za=false;return 0});var n=function(a,b,c,d){var c=c||[],e=b=b||l;if(b.nodeType!==1&&b.nodeType!==9)return[];
if(!a||typeof a!=="string")return c;var f,h,i,j,k,m=true,o=n.isXML(b),q=[],r=a;do{ra.exec("");if(f=ra.exec(r)){r=f[3];q.push(f[1]);if(f[2]){j=f[3];break}}}while(f);if(q.length>1&&Ub.exec(a))if(q.length===2&&p.relative[q[0]])h=$a(q[0]+q[1],b);else for(h=p.relative[q[0]]?[b]:n(q.shift(),b);q.length;){a=q.shift();p.relative[a]&&(a=a+q.shift());h=$a(a,h)}else{if(!d&&q.length>1&&b.nodeType===9&&!o&&p.match.ID.test(q[0])&&!p.match.ID.test(q[q.length-1])){f=n.find(q.shift(),b,o);b=f.expr?n.filter(f.expr,
f.set)[0]:f.set[0]}if(b){f=d?{expr:q.pop(),set:v(d)}:n.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&b.parentNode?b.parentNode:b,o);h=f.expr?n.filter(f.expr,f.set):f.set;for(q.length>0?i=v(h):m=false;q.length;){f=k=q.pop();p.relative[k]?f=q.pop():k="";f==null&&(f=b);p.relative[k](i,f,o)}}else i=[]}i||(i=h);i||n.error(k||a);if(Ya.call(i)==="[object Array]")if(m)if(b&&b.nodeType===1)for(a=0;i[a]!=null;a++)i[a]&&(i[a]===true||i[a].nodeType===1&&n.contains(b,i[a]))&&c.push(h[a]);else for(a=0;i[a]!=
null;a++)i[a]&&i[a].nodeType===1&&c.push(h[a]);else c.push.apply(c,i);else v(i,c);if(j){n(j,e,c,d);n.uniqueSort(c)}return c};n.uniqueSort=function(a){if(ca){aa=Za;a.sort(ca);if(aa)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a};n.matches=function(a,b){return n(a,null,null,b)};n.matchesSelector=function(a,b){return n(b,null,null,[a]).length>0};n.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=p.order.length;e<f;e++){var h,i=p.order[e];if(h=p.leftMatch[i].exec(a)){var j=
h[1];h.splice(1,1);if(j.substr(j.length-1)!=="\\"){h[1]=(h[1]||"").replace(G,"");d=p.find[i](h,b,c);if(d!=null){a=a.replace(p.match[i],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}};n.filter=function(a,b,c,d){for(var e,f,h=a,i=[],j=b,k=b&&b[0]&&n.isXML(b[0]);a&&b.length;){for(var l in p.filter)if((e=p.leftMatch[l].exec(a))!=null&&e[2]){var o,q,r=p.filter[l];q=e[1];f=false;e.splice(1,1);if(q.substr(q.length-1)!=="\\"){j===i&&(i=
[]);if(p.preFilter[l])if(e=p.preFilter[l](e,j,c,i,d,k)){if(e===true)continue}else f=o=true;if(e)for(var s=0;(q=j[s])!=null;s++)if(q){o=r(q,e,s,j);var t=d^!!o;if(c&&o!=null)t?f=true:j[s]=false;else if(t){i.push(q);f=true}}if(o!==m){c||(j=i);a=a.replace(p.match[l],"");if(!f)return[];break}}}if(a===h)if(f==null)n.error(a);else break;h=a}return j};n.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var p=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!ba.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,e=a.length,f;d<e;d++)if(f=a[d]){for(;(f=f.previousSibling)&&f.nodeType!==1;);a[d]=c||f&&f.nodeName.toLowerCase()===b?f||false:f===b}c&&n.filter(b,a,true)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&
!ba.test(b))for(b=b.toLowerCase();e<f;e++){if(c=a[e]){c=c.parentNode;a[e]=c.nodeName.toLowerCase()===b?c:false}}else{for(;e<f;e++)(c=a[e])&&(a[e]=d?c.parentNode:c.parentNode===b);d&&n.filter(b,a,true)}},"":function(a,b,c){var d,e=sa++,f=Xa;if(typeof b==="string"&&!ba.test(b)){d=b=b.toLowerCase();f=Wa}f("parentNode",b,e,a,d,c)},"~":function(a,b,c){var d,e=sa++,f=Xa;if(typeof b==="string"&&!ba.test(b)){d=b=b.toLowerCase();f=Wa}f("previousSibling",b,e,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!==
"undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(G,"")+" ";if(f)return a;for(var f=0,h;(h=b[f])!=null;f++)h&&(e^(h.className&&
(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[f]=false));return false},ID:function(a){return a[1].replace(G,"")},TAG:function(a){return a[1].replace(G,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||n.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&n.error(a[0]);a[0]=sa++;return a},ATTR:function(a,
b,c,d,e,f){b=a[1]=a[1].replace(G,"");!f&&p.attrMap[b]&&(a[1]=p.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(G,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,d,e){if(a[1]==="not")if((ra.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=n(a[3],null,null,b);else{a=n.filter(a[3],b,c,1^e);c||d.push.apply(d,a);return false}else if(p.match.POS.test(a[0])||p.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===
false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===true},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!n(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===
a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===
0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=p.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){b=b[3];c=0;for(d=b.length;c<d;c++)if(b[c]===a)return false;return true}n.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case "only":case "first":for(;d=
d.previousSibling;)if(d.nodeType===1)return false;if(c==="first")return true;d=a;case "last":for(;d=d.nextSibling;)if(d.nodeType===1)return false;return true;case "nth":var c=b[2],e=b[3];if(c===1&&e===0)return true;var f=b[0],h=a.parentNode;if(h&&(h.sizcache!==f||!a.nodeIndex)){for(var i=0,d=h.firstChild;d;d=d.nextSibling)if(d.nodeType===1)d.nodeIndex=++i;h.sizcache=f}d=a.nodeIndex-e;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,
b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=p.attrHandle[c]?p.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],f=b[4];return c==null?e==="!=":e==="="?d===f:e==="*="?d.indexOf(f)>=0:e==="~="?(" "+d+" ").indexOf(f)>=0:!f?d&&c!==false:e==="!="?d!==f:e==="^="?d.indexOf(f)===0:e==="$="?d.substr(d.length-f.length)===f:e==="|="?d===f||d.substr(0,f.length+
1)===f+"-":false},POS:function(a,b,c,d){var e=p.setFilters[b[2]];if(e)return e(a,c,b,d)}}},Ub=p.match.POS,Vb=function(a,b){return"\\"+(b-0+1)},M;for(M in p.match)p.match[M]=RegExp(p.match[M].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[M]=RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[M].source.replace(/\\(\d+)/g,Vb));var v=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(l.documentElement.childNodes,0)[0].nodeType}catch(kc){v=
function(a,b){var c=0,d=b||[];if(Ya.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var ca,N;l.documentElement.compareDocumentPosition?ca=function(a,b){if(a===b){aa=true;return 0}return!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(ca=function(a,b){var c,d,e=[],f=[];c=a.parentNode;d=b.parentNode;
var h=c;if(a===b){aa=true;return 0}if(c===d)return N(a,b);if(c){if(!d)return 1}else return-1;for(;h;){e.unshift(h);h=h.parentNode}for(h=d;h;){f.unshift(h);h=h.parentNode}c=e.length;d=f.length;for(h=0;h<c&&h<d;h++)if(e[h]!==f[h])return N(e[h],f[h]);return h===c?N(a,f[h],-1):N(e[h],b,1)},N=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});n.getText=function(a){for(var b="",c,d=0;a[d];d++){c=a[d];c.nodeType===3||c.nodeType===4?b=b+c.nodeValue:c.nodeType!==
8&&(b=b+n.getText(c.childNodes))}return b};var da=l.createElement("div"),ab="script"+(new Date).getTime(),ea=l.documentElement;da.innerHTML="<a name='"+ab+"'/>";ea.insertBefore(da,ea.firstChild);l.getElementById(ab)&&(p.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:m:[]},p.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&
a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b});ea.removeChild(da);var ea=da=null,z=l.createElement("div");z.appendChild(l.createComment(""));0<z.getElementsByTagName("*").length&&(p.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c});z.innerHTML="<a href='#'></a>";z.firstChild&&("undefined"!==typeof z.firstChild.getAttribute&&"#"!==z.firstChild.getAttribute("href"))&&(p.attrHandle.href=
function(a){return a.getAttribute("href",2)});z=null;if(l.querySelectorAll){var ta=n,fa=l.createElement("div");fa.innerHTML="<p class='TEST'></p>";if(!(fa.querySelectorAll&&0===fa.querySelectorAll(".TEST").length)){var n=function(a,b,c,d){b=b||l;if(!d&&!n.isXML(b)){var e=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(a);if(e&&(b.nodeType===1||b.nodeType===9)){if(e[1])return v(b.getElementsByTagName(a),c);if(e[2]&&p.find.CLASS&&b.getElementsByClassName)return v(b.getElementsByClassName(e[2]),c)}if(b.nodeType===
9){if(a==="body"&&b.body)return v([b.body],c);if(e&&e[3]){var f=b.getElementById(e[3]);if(f&&f.parentNode){if(f.id===e[3])return v([f],c)}else return v([],c)}try{return v(b.querySelectorAll(a),c)}catch(h){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var e=b,i=(f=b.getAttribute("id"))||"__sizzle__",j=b.parentNode,k=/^\s*[+~]/.test(a);f?i=i.replace(/'/g,"\\$&"):b.setAttribute("id",i);if(k&&j)b=b.parentNode;try{if(!k||j)return v(b.querySelectorAll("[id='"+i+"'] "+a),c)}catch(m){}finally{f||
e.removeAttribute("id")}}}return ta(a,b,c,d)},ua;for(ua in ta)n[ua]=ta[ua];fa=null}}var ga=l.documentElement,va=ga.matchesSelector||ga.mozMatchesSelector||ga.webkitMatchesSelector||ga.msMatchesSelector,bb=!1;try{va.call(l.documentElement,"[test!='']:sizzle")}catch(lc){bb=!0}va&&(n.matchesSelector=function(a,b){b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!n.isXML(a))try{if(bb||!p.match.PSEUDO.test(b)&&!/!=/.test(b))return va.call(a,b)}catch(c){}return n(b,null,null,[a]).length>0});var H=l.createElement("div");
H.innerHTML="<div class='test e'></div><div class='test'></div>";H.getElementsByClassName&&0!==H.getElementsByClassName("e").length&&(H.lastChild.className="e",1!==H.getElementsByClassName("e").length&&(p.order.splice(1,0,"CLASS"),p.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},H=null));n.contains=l.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):true)}:l.documentElement.compareDocumentPosition?
function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return false};n.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":false};var $a=function(a,b){for(var c,d=[],e="",f=b.nodeType?[b]:b;c=p.match.PSEUDO.exec(a);){e=e+c[0];a=a.replace(p.match.PSEUDO,"")}a=p.relative[a]?a+"*":a;c=0;for(var h=f.length;c<h;c++)n(a,f[c],d);return n.filter(e,d)};d.find=n;d.expr=n.selectors;d.expr[":"]=d.expr.filters;d.unique=n.uniqueSort;d.text=n.getText;d.isXMLDoc=
n.isXML;d.contains=n.contains;var Wb=/Until$/,Xb=/^(?:parents|prevUntil|prevAll)/,Yb=/,/,pb=/^.[^:#\[\.,]*$/,Zb=Array.prototype.slice,cb=d.expr.match.POS,$b={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this,c,g;if(typeof a!=="string")return d(a).filter(function(){c=0;for(g=b.length;c<g;c++)if(d.contains(b[c],this))return true});var e=this.pushStack("","find",a),f,h,i;c=0;for(g=this.length;c<g;c++){f=e.length;d.find(a,this[c],e);if(c>0)for(h=f;h<e.length;h++)for(i=
0;i<f;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,g=b.length;a<g;a++)if(d.contains(this,b[a]))return true})},not:function(a){return this.pushStack(Ba(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ba(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?d.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],g,e,f=this[0];if(d.isArray(a)){var h,i={},j=1;if(f&&
a.length){g=0;for(e=a.length;g<e;g++){h=a[g];i[h]||(i[h]=cb.test(h)?d(h,b||this.context):h)}for(;f&&f.ownerDocument&&f!==b;){for(h in i){g=i[h];(g.jquery?g.index(f)>-1:d(f).is(g))&&c.push({selector:h,elem:f,level:j})}f=f.parentNode;j++}}return c}h=cb.test(a)||typeof a!=="string"?d(a,b||this.context):0;g=0;for(e=this.length;g<e;g++)for(f=this[g];f;)if(h?h.index(f)>-1:d.find.matchesSelector(f,a)){c.push(f);break}else{f=f.parentNode;if(!f||!f.ownerDocument||f===b||f.nodeType===11)break}c=c.length>1?
d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){return!a?this[0]&&this[0].parentNode?this.prevAll().length:-1:typeof a==="string"?d.inArray(this[0],d(a)):d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a&&a.nodeType?[a]:a),g=d.merge(this.get(),c);return this.pushStack(!c[0]||!c[0].parentNode||c[0].parentNode.nodeType===11||!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11?g:d.unique(g))},andSelf:function(){return this.add(this.prevObject)}});
d.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",
c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,g){var e=d.map(this,b,c),f=Zb.call(arguments);Wb.test(a)||(g=c);g&&typeof g==="string"&&(e=d.filter(g,e));e=this.length>1&&!$b[a]?d.unique(e):e;if((this.length>1||Yb.test(g))&&Xb.test(a))e=e.reverse();return this.pushStack(e,
a,f.join(","))}});d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,c){for(var g=[],a=a[b];a&&a.nodeType!==9&&(c===m||a.nodeType!==1||!d(a).is(c));){a.nodeType===1&&g.push(a);a=a[b]}return g},nth:function(a,b,c){for(var b=b||1,d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ac=/ jQuery\d+="(?:\d+|null)"/g,
wa=/^\s+/,db=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,eb=/<([\w:]+)/,bc=/<tbody/i,cc=/<|&#?\w+;/,fb=/<(?:script|object|embed|option|style)/i,gb=/checked\s*(?:[^=]|=\s*.checked.)/i,dc=/\/(java|ecma)script/i,rb=/^\s*<!(?:\[CDATA\[|\-\-)/,t={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>",
"</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};t.optgroup=t.option;t.tbody=t.tfoot=t.colgroup=t.caption=t.thead;t.th=t.td;d.support.htmlSerialize||(t._default=[1,"div<div>","</div>"]);d.fn.extend({text:function(a){return d.isFunction(a)?this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))}):typeof a!=="object"&&a!==m?this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(a)):d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,
b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return d.isFunction(a)?this.each(function(b){d(this).wrapInner(a.call(this,b))}):this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,
"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,g;(g=this[c])!=null;c++)if(!a||d.filter(a,[g]).length){if(!b&&g.nodeType===1){d.cleanData(g.getElementsByTagName("*"));d.cleanData([g])}g.parentNode&&g.parentNode.removeChild(g)}return this},
empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===m)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ac,""):null;if(typeof a==="string"&&!fb.test(a)&&(d.support.leadingWhitespace||!wa.test(a))&&!t[(eb.exec(a)||["",""])[1].toLowerCase()]){a=
a.replace(db,"<$1></$2>");try{for(var b=0,c=this.length;b<c;b++)if(this[b].nodeType===1){d.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(g){this.empty().append(a)}}else d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),g=c.html();c.replaceWith(a.call(this,b,g))});typeof a!=="string"&&
(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove();b?d(b).before(a):d(c).append(a)})}return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,c){var g,e,f,h=a[0],i=[];if(!d.support.checkClone&&arguments.length===3&&typeof h==="string"&&gb.test(h))return this.each(function(){d(this).domManip(a,b,c,true)});if(d.isFunction(h))return this.each(function(e){var f=
d(this);a[0]=h.call(this,e,b?f.html():m);f.domManip(a,b,c)});if(this[0]){g=h&&h.parentNode;g=d.support.parentNode&&g&&g.nodeType===11&&g.childNodes.length===this.length?{fragment:g}:d.buildFragment(a,this,i);f=g.fragment;if(e=f.childNodes.length===1?f=f.firstChild:f.firstChild){b=b&&d.nodeName(e,"tr");e=0;for(var j=this.length,k=j-1;e<j;e++)c.call(b?d.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e]:this[e],
g.cacheable||j>1&&e<k?d.clone(f,true,true):f)}i.length&&d.each(i,qb)}return this}});d.buildFragment=function(a,b,c){var g,e,f,h;b&&b[0]&&(h=b[0].ownerDocument||b[0]);h.createDocumentFragment||(h=l);if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&h===l&&a[0].charAt(0)==="<"&&!fb.test(a[0])&&(d.support.checkClone||!gb.test(a[0]))){e=true;(f=d.fragments[a[0]])&&f!==1&&(g=f)}if(!g){g=h.createDocumentFragment();d.clean(a,h,g,c)}e&&(d.fragments[a[0]]=f?g:1);return{fragment:g,cacheable:e}};d.fragments=
{};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var g=[],c=d(c),e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&c.length===1){c[b](this[0]);return this}for(var e=0,f=c.length;e<f;e++){var h=(e>0?this.clone(true):this).get();d(c[e])[b](h);g=g.concat(h)}return this.pushStack(g,a,c.selector)}});d.extend({clone:function(a,b,c){var g=a.cloneNode(true),e,f,h;if((!d.support.noCloneEvent||
!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){Da(a,g);e=Q(a);f=Q(g);for(h=0;e[h];++h)f[h]&&Da(e[h],f[h])}if(b){Ca(a,g);if(c){e=Q(a);f=Q(g);for(h=0;e[h];++h)Ca(e[h],f[h])}}return g},clean:function(a,b,c,g){b=b||l;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||l);for(var e=[],f,h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i=i+"");if(i){if(typeof i==="string")if(cc.test(i)){i=i.replace(db,"<$1></$2>");f=(eb.exec(i)||["",""])[1].toLowerCase();
var j=t[f]||t._default,k=j[0],m=b.createElement("div");for(m.innerHTML=j[1]+i+j[2];k--;)m=m.lastChild;if(!d.support.tbody){k=bc.test(i);j=f==="table"&&!k?m.firstChild&&m.firstChild.childNodes:j[1]==="<table>"&&!k?m.childNodes:[];for(f=j.length-1;f>=0;--f)d.nodeName(j[f],"tbody")&&!j[f].childNodes.length&&j[f].parentNode.removeChild(j[f])}!d.support.leadingWhitespace&&wa.test(i)&&m.insertBefore(b.createTextNode(wa.exec(i)[0]),m.firstChild);i=m.childNodes}else i=b.createTextNode(i);var n;if(!d.support.appendChecked)if(i[0]&&
typeof(n=i.length)==="number")for(f=0;f<n;f++)Fa(i[f]);else Fa(i);i.nodeType?e.push(i):e=d.merge(e,i)}}if(c){a=function(a){return!a.type||dc.test(a.type)};for(h=0;e[h];h++)if(g&&d.nodeName(e[h],"script")&&(!e[h].type||e[h].type.toLowerCase()==="text/javascript"))g.push(e[h].parentNode?e[h].parentNode.removeChild(e[h]):e[h]);else{if(e[h].nodeType===1){b=d.grep(e[h].getElementsByTagName("script"),a);e.splice.apply(e,[h+1,0].concat(b))}c.appendChild(e[h])}}return e},cleanData:function(a){for(var b,c,
g=d.cache,e=d.expando,f=d.event.special,h=d.support.deleteExpando,i=0,j;(j=a[i])!=null;i++)if(!j.nodeName||!d.noData[j.nodeName.toLowerCase()])if(c=j[d.expando]){if((b=g[c]&&g[c][e])&&b.events){for(var k in b.events)f[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);if(b.handle)b.handle.elem=null}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando);delete g[c]}}});var xa=/alpha\([^)]*\)/i,ec=/opacity=([^)]*)/,fc=/([A-Z]|^ms)/g,hb=/^-?\d+(?:px)?$/i,gc=/^-?\d/,hc=/^([\-+])=([\-+.\de]+)/,
ic={position:"absolute",visibility:"hidden",display:"block"},sb=["Left","Right"],tb=["Top","Bottom"],A,ib,jb;d.fn.css=function(a,b){return arguments.length===2&&b===m?this:d.access(this,a,b,true,function(a,b,e){return e!==m?d.style(a,b,e):d.css(a,b)})};d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=A(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":d.support.cssFloat?
"cssFloat":"styleFloat"},style:function(a,b,c,g){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,f=d.camelCase(b),h=a.style,i=d.cssHooks[f],b=d.cssProps[f]||f;if(c!==m){g=typeof c;if(g==="string"&&(e=hc.exec(c))){c=+(e[1]+1)*+e[2]+parseFloat(d.css(a,b));g="number"}if(!(c==null||g==="number"&&isNaN(c))){g==="number"&&!d.cssNumber[f]&&(c=c+"px");if(!i||!("set"in i)||(c=i.set(a,c))!==m)try{h[b]=c}catch(j){}}}else return i&&"get"in i&&(e=i.get(a,false,g))!==m?e:h[b]}},css:function(a,b,c){var g,
e,b=d.camelCase(b);e=d.cssHooks[b];b=d.cssProps[b]||b;b==="cssFloat"&&(b="float");if(e&&"get"in e&&(g=e.get(a,true,c))!==m)return g;if(A)return A(a,b)},swap:function(a,b,c){var d={},e;for(e in b){d[e]=a.style[e];a.style[e]=b[e]}c.call(a);for(e in b)a.style[e]=d[e]}});d.curCSS=d.css;d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,g,e){var f;if(g){if(a.offsetWidth!==0)return Ga(a,b,e);d.swap(a,ic,function(){f=Ga(a,b,e)});return f}},set:function(a,b){if(hb.test(b)){b=parseFloat(b);
if(b>=0)return b+"px"}else return b}}});d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return ec.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,g=a.currentStyle,e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=g&&g.filter||c.filter||"";c.zoom=1;if(b>=1&&d.trim(f.replace(xa,""))===""){c.removeAttribute("filter");if(g&&!g.filter)return}c.filter=xa.test(f)?f.replace(xa,e):f+" "+e}});d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight=
{get:function(a,b){var c;d.swap(a,{display:"inline-block"},function(){c=b?A(a,"margin-right","marginRight"):a.style.marginRight});return c}}});l.defaultView&&l.defaultView.getComputedStyle&&(ib=function(a,b){var c,g,b=b.replace(fc,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return m;if(g=g.getComputedStyle(a,null)){c=g.getPropertyValue(b);c===""&&!d.contains(a.ownerDocument.documentElement,a)&&(c=d.style(a,b))}return c});l.documentElement.currentStyle&&(jb=function(a,b){var c,d=a.currentStyle&&
a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;if(!hb.test(d)&&gc.test(d)){c=f.left;if(e)a.runtimeStyle.left=a.currentStyle.left;f.left=b==="fontSize"?"1em":d||0;d=f.pixelLeft+"px";f.left=c;if(e)a.runtimeStyle.left=e}return d===""?"auto":d});A=ib||jb;d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});
return d}(window);


var optimizelyCode = function(){
var DATA={"log_host":"log.optimizely.com","goal_expressions":{"596562816":["^clicked\\_developers\\_top\\_nav$"],"2308120252":["^get\\_started\\_header\\_clicked$"],"303844228":["(https?://)?(www\\.)?\\/free\\-trial/?"],"3532051478":["^pro\\-contact\\-us$"],"1908390337":["^clicked\\_use\\_cases\\_top\\_nav$"],"752262670":["^get\\_started\\_free\\_trial$"],"2100320785":["^clicked\\_\"get\\_free\"\\_button$"],"620761746":["^sem\\_filling\\_out\\_form$"],"2224920776":["^create\\_free\\_account\\_clicked$"],"3376391446":["^get\\_started\\_in\\_footer$"],"575721496":["(https?://)?(www\\.)?get\\-started/?"],"590814234":["^clicked\\_pricing\\_top\\_nav$"],"3535450396":["^top\\_of\\_page\\_free\\_trial$"],"586521370":["^clicked\\_\"get\\_started\"\\_big\\_home\\_page$"],"2005070277":["^clicked\\_demo\\_streams$"],"1423610658":["^cta\\_clicks$"],"3398751198":["^login\\_in\\_header$"],"3580610333":["^old\\_page\\_\\-\\_sign\\-up\\_now\\_under\\_pricing$"],"593891249":["^click$"],"593911475":["^clicked\\_top\\_logo$"],"1402100788":["^recent\\_tweets$"],"589033525":["^clicked\\_company\\_top\\_nav$"],"621581368":["^clicked\\_how\\_it\\_works$"],"3545670132":["^pilot\\-launch\\-scale$"],"756141978":["^go\\_cloud\\_button$"],"1394201916":["^recent\\_press$"],"758576704":["^contact\\_us\\_button$"],"758576705":["^pricing\\_page\\_top\\_header\\_button$"],"597892420":["^clicked\\_blog\\_top\\_nav$"],"675160389":["^home\\_page\\_clicked\\_red\\_button$"],"1894770503":["^clicked\\_quick\\_start\\_top\\_nav$"],"589562568":["^clicked\\_to\\_watch\\_video$"],"571411019":["^clicked\\_\"get\\_started\"\\_top$"],"576130508":["^clicked\\_\"get\\_started\"\\_dev\\_page$"],"2119560447":["^clicked\\_global\\_cta$"],"582441296":["^clicked\\_video\\_play\\_button$"],"652913080":["^clicked\\_on\\_video$"],"2026770019":["^clicked\\_demo\\_apps$"],"2955160520":["^get\\_started$"],"3535420985":["^freetiersignup$"],"595640282":["^post\\_fillout\\_form\\_and\\_submission$"],"3254480347":["^sign\\_ups\\_clicked$"],"650300764":["^clicked\\_get\\_started\\_bottom\\_button$"],"3394780602":["^get\\_started\\_in\\_header$"],"3383730456":["^get\\_started\\_in\\_banner$"],"1402100787":["^recent\\_blog\\_posts$"],"668782563":["^clicked\\_big\\_get\\_started\\_bottom\\_button$"],"30665956":["^engagement$"],"2093880038":["^clicked\\_top\\_left\\_nav$"],"591670246":["^started\\_filling\\_out\\_form$"],"621371367":["^clicked\\_contact\\_top\\_nav$"],"2098460028":["^clicked\\_top\\_right\\_nav$"],"589950695":["^clicked\\_log\\_in\\_button$"],"304803948":["^clicked\\_signup\\_button$"],"652631150":["^clicked\\_learn\\_more\\_button$"],"596463860":["^clicked\\_customers\\_top\\_nav$"],"1999630554":["(https?://)?(www\\.)?pubnub\\.com\\/how\\-it\\-works/?"],"1365852790":["^page\\_access$"],"1883960567":["^clicked\\_get\\_started\\_\\-\\_top$"],"1892171130":["^clicked\\_getting\\_started\\_\\-\\_hero$"],"1998661503":["^demo\\_apps\\_clicked\\_on$"],"576483580":["^clicked\\_\"connect\"\\_demo$"],"656262527":["^clicked\\_top\\_get\\_started\\_button$"]},"experiments":{"3389250976":{"mixpanel":true,"name":"Home Page Message","urls":[{"match":"simple","value":"http://www.pubnub.com"}],"enabled_variation_ids":["3395851096","3389780991"],"variation_ids":["3395851096","3389780991","3377231891"]},"2223870915":{"universal_analytics":{"slot":1,"tracker":"UA-16927549-1"},"activation_mode":"manual","name":"Get Started Fields","urls":[{"match":"simple","value":"http://www.pubnub.com/get-started/"}],"enabled_variation_ids":["2219591233","2223820580"],"variation_ids":["2219591233","2223820580"]},"3270390963":{"mixpanel":true,"name":"Price Placement","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing/"}],"enabled_variation_ids":["3272341064","3242511301"],"variation_ids":["3272341064","3242511301"]},"2106250215":{"name":"Free Forever Notification","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing"}],"enabled_variation_ids":["2118870195","2102730699"],"variation_ids":["2118870195","2102730699"]},"3538673159":{"mixpanel":true,"name":"Pricing Page Test","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing/"}],"enabled_variation_ids":["3514613679"],"variation_ids":["3514613679","3527297260"]},"2360490286":{"mixpanel":true,"name":"Pricing Test - 01/29/15","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing/"}],"enabled_variation_ids":["2374061176"],"variation_ids":["2368751353","2374061176"]},"3316991442":{"mixpanel":true,"name":"Price Style","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing/"}],"enabled_variation_ids":["3320772975","3356701127"],"variation_ids":["3320772975","3356701127"]},"2920920995":{"mixpanel":true,"name":"Pricing Sandbox / Free","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing"}],"enabled_variation_ids":["2947910979","2953160174"],"variation_ids":["2947910979","2953160174"]},"2216811892":{"mixpanel":true,"name":"Pricing Test - 12/12/14","urls":[{"match":"simple","value":"http://www.pubnub.com/pricing"}],"enabled_variation_ids":["2240261263","2228421072"],"variation_ids":["2240261263","2228421072"]},"3540170068":{"mixpanel":true,"name":"Home Page - What we do","urls":[{"match":"simple","value":"http://www.pubnub.com"}],"enabled_variation_ids":["3514980786","3526651334"],"variation_ids":["3514980786","3526651334"]}},"www_host":"app.optimizely.com","public_suffixes":{"pubnub.com":["www.pubnub.com"]},"version":"master-2116.387478723422949446","admin_account_id":7641034,"project_id":30715011,"revision":531,"summary_revenue_goal_id":30710052,"installation_verified":true,"preview_host":"//optimizely.s3.amazonaws.com","api_host":"api.optimizely.com","variations":{"3377231891":{"code":"$(\".subtitle\").html(\"\\n          Global Data Stream Network\");\n$(\".hidden-xs > .button\").html(\"Get Started Now\");\n$(\"h1\").html(\"Secure, Bidirectional Coummunication for<br>Web, Mobile &amp; The Internet of Things&nbsp;\");\n$(\"h1\").append(\"<div id=\\\"optimizely_324780596\\\">...</div>\");\n$(\"h1\").html(\"Secure, Bidirectional Coummunication for<br>Web, Mobile &amp; the Internet of Things&nbsp;\\n<div id=\\\"optimizely_324780596\\\">...</div>\\n\");\n$(\"#optimizely_324780596\").css({\"display\":\"none\", \"visibility\":\"\"});\n$(\".subtitle\").css({\"font-size\":\"24px\"});","name":"Variation #2"},"2219591233":{"code":"$(\"#phone\").replaceWith(\"<input value=\\\"\\\" name=\\\"phone\\\" type=\\\"text\\\" id=\\\"phone\\\" placeholder=\\\"Phone *\\\">\");\n$(\"#first-name\").replaceWith(\"<input value=\\\"\\\" name=\\\"first\\\" type=\\\"text\\\" id=\\\"first-name\\\" placeholder=\\\"First Name *\\\" required=\\\"\\\">\");\n$(\"#password\").replaceWith(\"<input name=\\\"password\\\" type=\\\"password\\\" id=\\\"password\\\" placeholder=\\\"Password *\\\" required=\\\"\\\">\");","name":"Original"},"2947910979":{"name":"Original"},"2223820580":{"code":"console.log(\"experiment 1\");\n$(\"#password\").after('<select style=\"color:#666;-webkit-box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.3);box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.3);-webkit-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out;background : #fff;height : 41px;border: 1px solid #efefef;\" name=\"customer_selected_use_case\" class=\"width-100 padding-10 margin-bottom-10\"><option value=\"\" disabled=\"\" selected=\"\">INDUSTRY</option><option value=\"Chat/Social\">Chat/Social</option><option value=\"Financial Data Streams\">Financial Data Streams</option><option value=\"Multi-player Games\">Multi-player Games</option><option value=\"Mobile\">Mobile</option><option value=\"Transportation\"> Transportation</option><option value=\"Internet of Things\">Internet of Things</option><option value=\"WebRTC\">WebRTC</option><option value=\"Other\">Other</option></select>');","name":"Variation #1"},"3242511301":{"code":"$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(1)\").css({\"display\":\"none\", \"visibility\":\"\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0)\").replaceWith(\"<div class=\\\"wrapper\\\">\\n          <div class=\\\"title-block\\\">Pilot</div>\\n          <div class=\\\"price\\\" style=\\\"display: none;\\\">$149<span class=\\\"sup\\\"> / mo</span></div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              1,000\\n            </div>\\n            <div class=\\\"description\\\">\\n              Daily Active Devices\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              5 Million\\n            </div>\\n            <div class=\\\"description\\\">\\n              Messages\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              $37 <span class=\\\"sub\\\"> / mo</span>\\n            </div>\\n            <div class=\\\"description\\\">\\n              <a href=\\\"#addons\\\">per add-on</a>\\n            </div>\\n          </div>\\n  <div class=\\\"price\\\">$149<span class=\\\"sup\\\"> / mo</span></div>\\n        </div>\");\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-bottom\":\"1px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(2)\").css({\"border-top\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-top\":\"1px\", \"border-bottom\":\"1px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(2)\").css({\"border-style\":\"solid\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(2)\").css({\"border-width\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-top\":\"1px\", \"border-bottom\":\"1px\", \"border-style\":\"solid\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-color\":\"#dceaee\", \"border-top\":\"1px\", \"border-bottom\":\"1px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-style\":\"solid\", \"border-top\":\"1px\", \"border-bottom\":\"1px\", \"border-left\":\"0px\", \"border-right\":\"0px\", \"border-width\":\"\", \"border-color\":\"#dceaee\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-width\":\"\", \"border-style\":\"solid\", \"border-top\":\"2px\", \"border-bottom\":\"2px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-style\":\"solid\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-width\":\"\", \"border-style\":\"solid\", \"border-color\":\"#dceaee\", \"border-top\":\"2px\", \"border-bottom\":\"2px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(1)\").replaceWith(\"<div class=\\\"price\\\"></div>\");\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(1)\").css({\"display\":\"none\", \"visibility\":\"\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0)\").replaceWith(\"<div class=\\\"wrapper\\\">\\n          <div class=\\\"title-block\\\">Free</div>\\n          <div class=\\\"price\\\" style=\\\"display: none;\\\"></div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              100\\n            </div>\\n            <div class=\\\"description\\\">\\n              Daily Active Devices\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              1 Million\\n            </div>\\n            <div class=\\\"description\\\">\\n              Messages\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              30 Day Trial\\n            </div>\\n            <div class=\\\"description\\\">\\n              <a href=\\\"#addons\\\">for all add-ons</a>\\n            </div>\\n          </div>\\n  \\t\\t\\t\\t<div class=\\\"price\\\">$0<span class=\\\"sup\\\"> / mo</span></div>\\n        </div>\");\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(2)\").css({\"border-width\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-color\":\"#dceaee\", \"border-width\":\"2px\", \"border-style\":\"solid\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-top\":\"\", \"border-width\":\"2px\", \"border-bottom\":\"\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4)\").css({\"border-color\":\"#dceaee\", \"border-style\":\"solid\", \"border-width\":\"2px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(4)\").css({\"border-color\":\"#dceaee\", \"border-style\":\"solid\", \"border-width\":\"2px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(1)\").replaceWith(\"<div class=\\\"price\\\"></div>\");\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(1)\").css({\"display\":\"none\", \"visibility\":\"\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(2)\").css({});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(2)\").css({\"border-width\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0)\").replaceWith(\"<div class=\\\"wrapper\\\">\\n          <div class=\\\"title-block\\\">Launch</div>\\n          <div class=\\\"price\\\" style=\\\"display: none;\\\"></div>\\n          <div class=\\\"feature\\\" style=\\\"border-width: 0px;\\\">\\n            <div class=\\\"number\\\">\\n              5,000\\n            </div>\\n            <div class=\\\"description\\\">\\n              Daily Active Devices\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              10 Million\\n            </div>\\n            <div class=\\\"description\\\">\\n              Messages\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              $99 <span class=\\\"sub\\\"> / mo</span>\\n            </div>\\n            <div class=\\\"description\\\">\\n              <a href=\\\"#addons\\\">per add-on</a>\\n            </div>\\n          </div>\\n  <div class=\\\"price\\\">$399<span class=\\\"sup\\\"> / mo</span></div>\\n        </div>\");\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(4)\").css({\"border-color\":\"#decaee\", \"border-style\":\"solid\", \"border-width\":\"2px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(4)\").css({\"border-color\":\"#dceaee\"});\n$(\".last > .price\").replaceWith(\"<div class=\\\"price\\\"></div>\");\n$(\".last > .price\").css({\"display\":\"none\", \"visibility\":\"\"});\n$(\".last > div:eq(2)\").css({\"border-width\":\"0px\"});\n$(\".last\").replaceWith(\"<div class=\\\"wrapper last\\\">\\n          <div class=\\\"title-block\\\">Scale</div>\\n          <div class=\\\"price\\\" style=\\\"display: none;\\\"></div>\\n          <div class=\\\"feature\\\" style=\\\"border-width: 0px;\\\">\\n            <div class=\\\"number\\\">\\n              20,000\\n            </div>\\n            <div class=\\\"description\\\">\\n              Daily Active Devices\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              40 Million\\n            </div>\\n            <div class=\\\"description\\\">\\n              Messages\\n            </div>\\n          </div>\\n          <div class=\\\"feature\\\">\\n            <div class=\\\"number\\\">\\n              $199 <span class=\\\"sub\\\"> / mo</span>\\n            </div>\\n            <div class=\\\"description\\\">\\n              <a href=\\\"#addons\\\">per add-on</a>\\n            </div>\\n          </div>\\n<div class=\\\"price\\\">$799<span class=\\\"sup\\\"> / mo</span></div>  \\n        </div>\");\n$(\".last > div:eq(4)\").css({\"border-color\":\"#dceaee\", \"border-style\":\"solid\", \"border-width\":\"2px\", \"border-left\":\"0px\", \"border-right\":\"0px\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(3) > div:eq(0)\").css({});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(5)\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(5)\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(5)\").css({\"color\":\"#75818b\"});\n$(\".last > div:eq(5)\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(4) > div:eq(0)\").css({});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".last > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".last > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".last > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(5)\").css({});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4) > div:eq(0) > span:eq(0)\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(4) > div:eq(0) > span:eq(0)\").css({\"color\":\"#75818b\"});\n$(\".last .sub\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#75818b\"});\n$(\".last > div:eq(4) > div:eq(0)\").css({\"color\":\"#75818b\"});","name":"Variation #1"},"3526651334":{"name":"Variation #1"},"3356701127":{"code":"$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(1)\").css({\"font-size\":\"22px\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(1)\").css({\"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(1)\").css({\"font-size\":\"22px\", \"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(1)\").css({\"font-size\":\"22px\", \"color\":\"#75818b\"});\n$(\".last > .price\").css({\"font-size\":\"22px\", \"color\":\"#75818b\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".last > div:eq(2) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".last > div:eq(3) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".last > div:eq(4) > div:eq(0)\").css({\"color\":\"#20a3c7\"});\n$(\".plans > .container > div:eq(1) > div:eq(0) > div:eq(0) > div:eq(1)\").css({\"font-size\":\"30px\"});\n$(\".plans > .container > div:eq(1) > div:eq(1) > div:eq(0) > div:eq(1)\").css({\"font-size\":\"30px\"});\n$(\".plans > .container > div:eq(1) > div:eq(2) > div:eq(0) > div:eq(1)\").css({\"font-size\":\"30px\"});\n$(\".last > .price\").css({\"font-size\":\"30px\"});","name":"Variation #1"},"3272341064":{"name":"Original"},"3514613679":{"name":"Original"},"2102730699":{"code":"$(\".sandbox > small\").replaceWith(\"<small><br> Forever!</small>\");","name":"Variation #1"},"3527297260":{"code":"/* _optimizely_redirect=http://www.pubnub.com/pricing-2/ */\nvar _optly={redir:document.createElement(\"a\")};\n_optly.redir.href=\"http://www.pubnub.com/pricing-2/\";\n_optly.cur=window.location.search;\nif (_optly.cur) {_optly.redir.search=_optly.redir.search ? _optly.cur + \"&\" + _optly.redir.search.slice(1) : _optly.cur;}\nwindow.location.replace(_optly.redir.href);","name":"Variation #1"},"2953160174":{"code":"$(\".free > .network-title\").html(\"Free Sandbox\");","name":"Variation #1"},"2240261263":{"name":"Original"},"2228421072":{"code":"/* _optimizely_redirect=http://www.pubnub.com/pricing-1/ */\nvar _optly={redir:document.createElement(\"a\")};\n_optly.redir.href=\"http://www.pubnub.com/pricing-1/\";\n_optly.cur=window.location.search;\nif (_optly.cur) {_optly.redir.search=_optly.redir.search ? _optly.cur + \"&\" + _optly.redir.search.slice(1) : _optly.cur;}\nwindow.location.replace(_optly.redir.href);","name":"Variation #1"},"3395851096":{"name":"Original"},"3514980786":{"name":"Original"},"2118870195":{"name":"Original"},"2374061176":{"code":"/* _optimizely_redirect=http://www.pubnub.com/pricing-2/ */\nvar _optly={redir:document.createElement(\"a\")};\n_optly.redir.href=\"http://www.pubnub.com/pricing-2/\";\n_optly.cur=window.location.search;\nif (_optly.cur) {_optly.redir.search=_optly.redir.search ? _optly.cur + \"&\" + _optly.redir.search.slice(1) : _optly.cur;}\nwindow.location.replace(_optly.redir.href);","name":"Variation #1"},"2368751353":{"name":"Original"},"3320772975":{"name":"Original"},"3389780991":{"code":"$(\"h1\").css({\"font-size\":\"40px\"});\n$(\"h1\").css({\"position\":\"relative\", \"left\":156, \"top\":-7, \"width\":829, \"height\":90});\n$(\".subtitle\").css({\"font-size\":\"24px\"});\n$(\"h1\").css({});\n$(\"h1\").css({\"left\":148, \"top\":-6});\n$(\".subtitle\").html(\"Global Data Stream Network\");\n$(\"h1\").html(\"Low Latency, 2-Way Communication for Mobile, Web &amp; the Internet of Things\");","name":"Variation #1"}},"segments":{"298887393":{"segment_value_type":"mobile","api_name":"optimizely_mobile","id":298887393,"name":"Mobile Visitors"},"298887394":{"segment_value_type":"browser","api_name":"optimizely_browser","id":298887394,"name":"Browser"},"298964123":{"segment_value_type":"source_type","api_name":"optimizely_source_type","id":298964123,"name":"Source Type"}},"click_goals":[{"event_name":"clicked_signup_button","experiments":{"304932688":true,"590372393":true,"320808794":true,"596260267":true,"325894151":true},"selector":".btn-large"},{"event_name":"clicked_\"get_started\"_top","experiments":{"597090536":true,"590372393":true,"620410186":true,"596260267":true,"584660562":true,"569152248":true,"566892953":true,"672211039":true},"selector":"li > .btn-modal"},{"event_name":"clicked_\"get_started\"_dev_page","experiments":{"569152248":true},"selector":".btn-large,div.padding-top-20"},{"event_name":"clicked_\"connect\"_demo","experiments":{"566892953":true,"584660562":true},"selector":"#connect"},{"event_name":"clicked_video_play_button","experiments":{"566892953":true,"584660562":true},"selector":"#promo-video-link > .btn-modal"},{"event_name":"clicked_\"get_started\"_big_home_page","experiments":{"566892953":true,"584660562":true,"596260267":true,"672211039":true},"selector":".on-top"},{"event_name":"clicked_to_watch_video","experiments":{"589950926":true},"selector":"#promo-video-link > .btn-modal"},{"event_name":"started_filling_out_form","experiments":{"597090536":true,"590372393":true,"596260267":true},"selector":"#first-name,#last-name,#company,#email-2,#password"},{"event_name":"click","experiments":{"620410186":true},"selector":"#whatispubnub"},{"event_name":"post_fillout_form_and_submission","experiments":{"597090536":true,"590372393":true,"620410186":true,"596260267":true},"selector":"input.btn"},{"event_name":"SEM_filling_out_form","experiments":{"620410186":true},"selector":"#first-name,#last-name,#company,#email-2,#password"},{"event_name":"clicked_get_started_bottom_button","experiments":{"653031899":true},"selector":".btn-large"},{"event_name":"clicked_learn_more_button","experiments":{"653031899":true},"selector":".margin-left"},{"event_name":"clicked_on_video","experiments":{"653031899":true},"selector":".gray > .text-center > div:eq(2)"},{"event_name":"clicked_top_get_started_button","experiments":{"653031899":true},"selector":"li > .btn-primary"},{"event_name":"clicked_big_get_started_bottom_button","experiments":{"672211039":true},"selector":".btn-white"},{"event_name":"home_page_clicked_red_button","experiments":{"672211039":true},"selector":"#promo-video-link > .btn-modal"},{"event_name":"get_started_free_trial","experiments":{"770391390":true},"selector":".buttons > td:eq(1) > a:eq(0)"},{"event_name":"go_cloud_button","experiments":{"770391390":true},"selector":".buttons > td:eq(2) > a:eq(0)"},{"event_name":"contact_us_button","experiments":{"770391390":true},"selector":".buttons > td:eq(3) > a:eq(0)"},{"event_name":"pricing_page_top_header_button","experiments":{"770391390":true},"selector":"li > .btn-primary"},{"event_name":"page_access","experiments":{"1372727059":true,"1423402527":true},"selector":".visible-xs > li:eq(2) > a:eq(0),ul.hidden-xs > li:eq(4) > a:eq(0)"},{"event_name":"recent_press","experiments":{"1366767703":true},"selector":".feeds > div:eq(2)"},{"event_name":"recent_blog_posts","experiments":{"1366767703":true},"selector":".feeds > div:eq(0)"},{"event_name":"recent_tweets","experiments":{"1366767703":true},"selector":".feeds > div:eq(1)"},{"event_name":"cta_clicks","experiments":{"1426190645":true},"selector":".on-top"},{"event_name":"clicked_get_started_-_top","experiments":{"1904870220":true},"selector":"a.btn-primary"},{"event_name":"clicked_getting_started_-_hero","experiments":{"1904870220":true},"selector":".text-bold"},{"event_name":"clicked_quick_start_top_nav","experiments":{"2025550603":true,"1904870220":true},"selector":"ul.hidden-xs > li:eq(4) > a:eq(0)"},{"event_name":"clicked_demo_streams","experiments":{"2025200133":true},"selector":".white > .container > div:eq(3) > div:eq(0) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(0) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(0) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(1) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(1) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(1) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(2) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(2) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(2) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(3) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(3) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(3) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(4) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(4) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(4) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(5) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(5) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(5) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(6) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(3) > div:eq(6) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(3) > div:eq(6) > a:eq(0) > div:eq(0) > div:eq(0)"},{"event_name":"clicked_demo_apps","experiments":{"2025200133":true},"selector":".white > .container > div:eq(1) > div:eq(0) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(0) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(1) > div:eq(0) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(1) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(1) > div:eq(1) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(1) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(2) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(1) > div:eq(2) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(2) > a:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(3) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0) > img:eq(0),.white > .container > div:eq(1) > div:eq(3) > a:eq(0) > div:eq(0) > div:eq(0) > div:eq(0),.white > .container > div:eq(1) > div:eq(3) > a:eq(0) > div:eq(0) > div:eq(0)"},{"event_name":"clicked_top_left_nav","experiments":{"2105300008":true},"selector":"ul.hidden-xs > li:eq(4) > a:eq(0)"},{"event_name":"clicked_top_right_nav","experiments":{"2105300008":true},"selector":"ul.hidden-xs > li:eq(0) > a:eq(0)"},{"event_name":"clicked_\"get_free\"_button","experiments":{"2106250215":true},"selector":".row > .btn-login"},{"event_name":"clicked_global_cta","experiments":{"2118430212":true},"selector":".global_cloud_signup_btn > .btn"},{"event_name":"create_free_account_clicked","experiments":{"2223870915":true},"selector":"#create_account_btn"},{"event_name":"get_started_header_clicked","experiments":{"2216811892":true},"selector":"#nav-cta"},{"event_name":"get_started","experiments":{"2920920995":true},"selector":".btn-demo,.visible-xs > .button,.btn-get-started-nav"},{"event_name":"sign_ups_clicked","experiments":{"3316991442":true,"3270390963":true},"selector":".btn-sign-up"},{"event_name":"get_started_in_footer","experiments":{"3389250976":true},"selector":"a.hidden-xs"},{"event_name":"get_started_in_banner","experiments":{"3389250976":true},"selector":".hidden-xs > .button"},{"event_name":"get_started_in_header","experiments":{"3389250976":true},"selector":".btn-get-started-nav"},{"event_name":"login_in_header","experiments":{"3389250976":true},"selector":".login .btn"},{"event_name":"pro-contact-us","experiments":{"3538673159":true},"selector":".pro .cta > a:eq(0) > div:eq(0)"},{"event_name":"freetiersignup","experiments":{"3538673159":true},"selector":".cta div.btn-modal"},{"event_name":"top_of_page_free_trial","experiments":{"3538673159":true},"selector":"a.btn-primary"},{"event_name":"pilot-launch-scale","experiments":{"3538673159":true},"selector":".pilot .btn,.launch .btn,.scale .btn"},{"event_name":"old_page_-_sign-up_now_under_pricing","experiments":{"3538673159":true},"selector":".btn-sign-up"}]};

function i(a){throw a;}var j=void 0,k=!0,l=null,o=!1;function aa(){return function(a){return a}}function ba(a){var b=typeof a;return"object"==b&&a!=l||"function"==b}function ca(a,b,c){return a.call.apply(a.bind,arguments)}function da(a,b,c){a||i(Error());if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}
function p(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ca:da;return p.apply(l,arguments)}function q(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.unshift.apply(b,c);return a.apply(this,b)}};var t,ea;
(function(){function a(a){d.lastIndex=0;return d.test(a)?'"'+a.replace(d,function(a){var b=g[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function b(c,d){var g,u,w,z,D=e,I,G=d[c];"function"===typeof h&&(G=h.call(d,c,G));switch(typeof G){case "string":return a(G);case "number":return isFinite(G)?String(G):"null";case "boolean":case "null":return String(G);case "object":if(!G)return"null";e+=f;I=[];if("[object Array]"===Object.prototype.toString.apply(G)){z=G.length;
for(g=0;g<z;g+=1)I[g]=b(g,G)||"null";w=0===I.length?"[]":e?"[\n"+e+I.join(",\n"+e)+"\n"+D+"]":"["+I.join(",")+"]";e=D;return w}if(h&&"object"===typeof h){z=h.length;for(g=0;g<z;g+=1)"string"===typeof h[g]&&(u=h[g],(w=b(u,G))&&I.push(a(u)+(e?": ":":")+w))}else for(u in G)Object.prototype.hasOwnProperty.call(G,u)&&(w=b(u,G))&&I.push(a(u)+(e?": ":":")+w);w=0===I.length?"{}":e?"{\n"+e+I.join(",\n"+e)+"\n"+D+"}":"{"+I.join(",")+"}";e=D;return w}}var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
d=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,f,g={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},h;t=function(a,c,d){var g;f=e="";if("number"===typeof d)for(g=0;g<d;g+=1)f+=" ";else"string"===typeof d&&(f=d);(h=c)&&("function"!==typeof c&&("object"!==typeof c||"number"!==typeof c.length))&&i(Error("JSON.stringify"));return b("",{"":a})};ea=function(a,b){function d(a,c){var e,f,g=a[c];if(g&&
"object"===typeof g)for(e in g)Object.prototype.hasOwnProperty.call(g,e)&&(f=d(g,e),f!==j?g[e]=f:delete g[e]);return b.call(a,c,g)}var e,a=String(a);c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof b?
d({"":e},""):e;i(new SyntaxError("JSON.parse"))}})();var fa=/\s*;\s*/,ha=/^([^=]+)=?(.*)$/;function v(a){var b=[];x(ja(),function(c){a===c.name&&b.push(ka(c.value))});if(0===b.length)return l;1<b.length&&y("Cookie","Values found for %s: %s",a,b.length);return b.pop()}var la=o;function ja(){var a,b=[];a=a||"";x((document.cookie||"").split(fa),function(c){var d=c.match(ha);d&&0===d[1].indexOf(a)&&b.push({name:d[1],value:d[2],M:c})});return b}
function A(a,b,c){if(la)y("Cookie","Already initialized.");else{y("Cookie","Initializing.");var d=document.location.hostname;if(ma()){na=d;for(var d=document.location.hostname.split("."),e=[],f=d.length-1;0<=f;--f){var g=d.slice(f).join("."),h="optimizelyDomainTest-"+Math.random().toString(16).replace("0.",""),m=Math.random().toString(16).replace("0.","");oa(h,m,g,3);v(h)===m&&e.push(g)}qa=e;0<qa.length?(na=qa[0],y("Cookie","Highest level domain: %s",na)):(y("Cookie","Disabling event tracking because cookies could not be set"),
B=o)}else e=d.split("."),f=d,g=e[e.length-1],2<e.length&&"appspot"===e[e.length-2]&&"com"===g?f=e[e.length-3]+".appspot.com":1<e.length&&ra(g,sa)&&(f=e[e.length-2]+"."+g),ta=f,y("Cookie","Guessed public suffix: %s",ta),ua=va(d),y("Cookie","Public suffix (from data): %s",ua);wa&&y("Cookie","Domain specified by API: %s",wa);la=k;y("Cookie","Done initializing.")}b=b||"";ma()?(x(qa,function(b){xa(a,b)}),d=ya(),oa(a,b,d,c),c=v(a)===b?"Succeeded":"Failed",y("Cookie","%s setting %s=%s on %s",c,a,b,d)):(d=
ya(),e=document.location.hostname,!ua&&C("remote_public_suffix")&&za.push({vb:c,name:a,value:b}),d&&(d===ua&&d!==ta)&&(xa(a,e),xa(a,ta)),oa(a,b,d,c),f=v(a),f===b)?y("Cookie","Successful set %s=%s on %s",a,b,d):(y("Cookie","Setting %s on %s apparently failed (%s != %s)",a,d,f,b),y("Cookie","Setting %s on %s",a,e),oa(a,b,e,c),f=v(a),f===b?(y("Cookie","Setting %s on %s worked; saving as new public suffix",a,e),ta=e):(y("Cookie","Could not set cookie %s, disabling event tracking.",a),B=o))}
function xa(a,b){var c=[a,"=","; ",Aa(b),"; path=/","; expires=",(new Date(0)).toUTCString()];document.cookie=c.join("")}function ya(){return ma()?wa||na:wa||ua||ta}function Aa(a){var b=[];b.push("domain=");"localhost"!==a&&(b.push("."),b.push(a));return b.join("")}function oa(a,b,c,d){a=[a,"=",encodeURIComponent(b),"; ",Aa(c),"; path=/"];d&&a.push("; expires=",(new Date(+new Date+1E3*d)).toUTCString());document.cookie=a.join("")}
function Ba(a){ya()!==a&&(wa=String(a)||"",y("Cookie","Api public suffix set to: %s",wa))}var ta="",wa="",na="",qa=[],ua="",za=[];var Ca=window.OPTIMIZELY_TEST_MODULE,sa="com local net org xxx edu es gov biz info fr nl ca de kr it me ly tv mx cn jp il in iq test".split(" "),Da=/\/\*\s*_optimizely_variation_url( +include="([^"]*)")?( +exclude="([^"]*)")?( +match_type="([^"]*)")?( +include_match_types="([^"]*)")?( +exclude_match_types="([^"]*)")?( +id="([^"]*)")?\s*\*\//;var Ea,Fa=0,Ga=o,E=k,Ha=o,Ia=o,Ja=o,Ka="",La=o,Ma=o,Na=o,Oa=o,Pa=o,Qa=o,B=k,Ra=31536E4;function Sa(){var a=v("optimizelyEndUserId");a||(a="oeu"+ +new Date+"r"+Math.random(),A("optimizelyEndUserId",a,Ra));return a}function Ta(){return v("optimizelyPPID")};function Ua(a,b){var c=k;x(a,function(a){if(!b(a))return c=o});return c}function F(a,b){var c=o;x(a,function(a){if(b(a))return c=k});return c}function H(a,b){for(var c=0;c<a.length;c++)if(b==a[c])return k;return o}function Va(a,b){var c=Wa(arguments,1);return function(){var b=Wa(arguments);b.unshift.apply(b,c);return a.apply(this,b)}}
function x(a,b){var c=l;if(J(a))for(var d=a.length,e=0;e<d&&!(c=b.call(j,a[e],e),K(c));++e);else for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&(c=b.call(j,d,a[d]),K(c)))break;return c}function Xa(a,b){if("function"===typeof a.map)return a.map(b);for(var c=[],d=0;d<a.length;d++)c.push(b(a[d],d));return c}function L(a,b){x(b,function(b,d){a[b]=d});return a}function Ya(a,b){if(J(b)){for(var c=a,d=0;d<b.length;d++){var e=b[d];if(!ba(c)||!c.hasOwnProperty(e))return;c=c[e]}return c}}
function Za(a,b){for(var c=[],d=0,e=a.length;d<e;d++){var f=a[d];b(f)&&c.push(f)}return c}function ra(a,b){return x(b,function(b){if(b===a)return k})||o}function J(a){return!!a&&"object"===typeof a&&"number"===typeof a.length}function K(a){return"undefined"!==typeof a}function $a(a){return("number"===typeof a||"string"===typeof a)&&Number(a)==a}function M(a){M=Object.wb||function(a){var c=[];x(a,function(a){c.push(a)});return c};return M.call(l,a)}
function ab(a,b){function c(){var b=document.head||document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.src=a;c.type="text/javascript";b.appendChild(c)}if(b)try{if("loading"===document.readyState){var d="optimizely_synchronous_script_"+Math.floor(1E5*Math.random());-1!==a.indexOf('"')?N("loadScript","Blocked attempt to load unsafe script: "+a):(document.write('<script id="'+d+'" src="'+a+'"><\/script>'),1!==$("#"+d).length&&i(Error("Document.write failed to append script")))}else i(Error("Not safe to attempt document.write"))}catch(e){try{var f=
new XMLHttpRequest;f.open("GET",a,o);f.onload=function(){eval(f.responseText)};f.onerror=function(){i(Error())};f.send()}catch(g){y("Common","Failed to load %s synchronously",a),c()}}else c()}function y(a,b,c){var d=window.console;if(Na&&d&&d.log){var e=Wa(arguments,1);e[0]="Optimizely / "+a+" / "+b;Function.prototype.apply.call(d.log,d,e)}}function ka(a){try{return decodeURIComponent(a)}catch(b){return a}}function Wa(a,b){return Array.prototype.slice.call(a,b||0,a.length)}
function bb(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function cb(a){this.w=a;this.a={totalGets:0,totalGetLength:0,totalGetTime:0,totalSets:0,totalSetLength:0,totalSetTime:0}}cb.prototype.get=function(a){try{var b=+new Date,c=this.w.getItem([db,a].join("$$")),d=ea(c);this.a.totalGetTime+=+new Date-b;this.a.totalGets++;this.a.totalGetLength+=(c||"").length;return d}catch(e){return l}};
cb.prototype.set=function(a,b){try{var c=+new Date,d=t(b);K(b)?this.w.setItem([db,a].join("$$"),d):this.w.removeItem([db,a].join("$$"));this.a.totalSetTime+=+new Date-c;this.a.totalSets++;this.a.totalSetLength+=d.length}catch(e){}};cb.prototype.pa=function(){return this.a};var eb={get:function(){},set:function(){},pa:function(){return{}}},db="optimizely_data",O=eb,fb=eb;
try{var O=new cb(window.localStorage),fb=new cb(window.sessionStorage),gb=O,hb=gb.w.getItem(db),ib={};try{ib=ea(hb)||{}}catch(jb){}if(0!==M(ib).length){var kb=Ta()||v("optimizelyEndUserId"),lb=ib[kb]||{},mb;for(mb in lb)if(lb.hasOwnProperty(mb)){var nb=[kb,mb].join("$$");gb.get(nb)===l&&gb.set(nb,lb[mb])}delete ib[kb];for(mb in ib)ib.hasOwnProperty(mb)&&(gb.get(mb)===l&&gb.set(mb,ib[mb]),delete ib[mb]);try{hb=t(ib)}catch(ob){hb={}}gb.w.setItem(db,hb)}}catch(pb){};function qb(){return C("admin_account_id")}function rb(a){return C("audiences",a)}function sb(a){a=C("audiences",a,"segment_id");return!a?l:a}
function tb(){if(!ub){var a=C("click_goals")||[];ub=[];for(var b=0,c=a.length;b<c;b++)for(var d=a[b],e=d.selector.split(","),f=0,g=e.length;f<g;f++){var h=e[f];h&&(h={event_name:d.event_name,selector:h},"experiments"in d?h.experiments=d.experiments:"url_conditions"in d&&(h.url_conditions=d.url_conditions),"revenue"in d&&(h.revenue=d.revenue),ub.push(h))}}return ub}function vb(){return C("dcp_keyfield_locators")||[]}function wb(a,b){return C("dimensions",a,b)}
function xb(a){a=wb(a,"condition_type");return!a?l:a}function yb(a){a=wb(a,"name");return!a?l:a}function zb(){Ab||(Ab=Za(Bb(),Cb));return Ab}function Db(a){var b=C("goal_expressions"),c=[],d;for(d in b)if(b.hasOwnProperty(d))for(var e=b[d],f=0;f<e.length;f++)try{if(RegExp(e[f],"i").test(a)){c.push(d);break}}catch(g){}return c}function Eb(a){var b=Fb(),c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c];if(d&&d.api_name===a)return String(c)}return l}
function Gb(){return C("experiments")||{}}function Bb(){return M(C("experiments")||{})}function Hb(a){return"manual"===P(a,"activation_mode")}function Ib(a){return"conditional"===P(a,"activation_mode")}function Jb(a){return P(a,"name")||"Exp "+a}function Q(a){return'experiment "'+Jb(a)+'" ('+a+")"}function Kb(a){return P(a,"section_ids")||[]}function Lb(a){return P(a,"variation_ids")||[]}function Mb(){return C("list_targeted_keys")||{}}function Nb(){return C("project_id")}
function Fb(){return C("segments")||{}}function Ob(a,b){for(var c=Kb(a),d=0;d<c.length;d++){var e=Pb(c[d]);if(H(e,b))return c[d]}return""}function va(a){var b={},c=C("public_suffixes")||{};x(c,function(a,c){x(c,function(c){b[c]=a})});va=function(a){return b[a]||""};return va.call(l,a)}function Pb(a){return C("sections",a,"variation_ids")||[]}function Qb(a){var b=[];x(a.split("_"),function(a){(a=C("variations",a,"code"))&&b.push(a)});return b.join("\n")}
function R(a){if(!Rb){var b={};x(Bb(),function(a){x(Kb(a),function(d){x(Pb(d),function(d){b[d]=a})});x(Lb(a),function(d){b[d]=a})});Rb=b}return Rb[a.split("_")[0]]||""}function Sb(a){var b=R(a),c=Kb(b);if(0===c.length){c=Lb(b);for(b=0;b<c.length;b++)if(c[b]===a)return b}else{for(var a=a.split("_"),b=[],d=0;d<c.length;d++)for(var e=Pb(c[d]),f=0;f<e.length;f++)e[f]===a[d]&&b.push(f);if(b!==[])return b}return-1}function Tb(a){var b;return Ub(a).join(b||", ")}
function Ub(a){var b=[];x(a.split("_"),function(a){b.push(C("variations",a,"name")||"Var "+a)});return b}function Vb(){return C("www_host")}function Cb(a){return!!P(a,"enabled")}function ma(){return!!C("simple_cookies")}function P(a,b){return C("experiments",a,b)}function Wb(a){a=P(a,"comscore");return K(a)?a.url:l}function Xb(a){return P(a,"google_analytics")}function Yb(a,b){var c=P(a,"universal_analytics");return K(c)?c[b]:l}function Zb(a,b){var c=P(a,"at_internet");return K(c)?c[b]:l}
function C(a){var b=DATA;if(x(arguments,function(a){a=b[a];if(K(a))b=a;else return l})!==l)return b}function $b(a,b){return C("segments",a,b)}function ac(){var a=C("rum_sampling_rate");return K(a)?a:0.001}var ub=l,Ab=l,Rb=l;function N(a,b,c){bc.push({Aa:new Date,ya:a,message:b,na:c||o});cc&&dc()}function ec(){Na=k}function fc(){Oa=Na=k}function dc(){Na&&(x(bc,function(a){if(!a.Xa&&(!a.na||a.na===Oa)){var b=+a.Aa;y(a.ya,a.message+(" [time "+(gc?b-gc:0)+" +"+(hc?b-hc:0)+"]"));hc=b;gc||(gc=b);a.Xa=k}}),cc=k)}var hc=l,gc=l,bc=[],cc=o;var S={};function ic(a,b){S[a]=b}function jc(){var a=(S.odds||l)&&(S.odds||l).ip||(S.cdn3||l)&&(S.cdn3||l).ip;return a?kc(a):l}
function lc(a){var b=Mb()[a];if("undefined"===typeof b)return l;b=mc(b);if(b===l)return l;if("undefined"===typeof b)return N("Async Info","Guessing list membership status (false) for list: "+a),o;var c=!S.odds?l:(S.odds||l).lists||{};if(!c)return N("Async Info","No list membership info."),l;var d;if(c.hasOwnProperty(a)){c=!!c[a];try{d=(!S.odds?l:(S.odds||l).lists_metadata||{})[a][0].value}catch(e){return N("Async Info","Assuming up-to-date list membership status ("+c+") for list: "+a),c}}else c=o,
d=j;if(b==d)return N("Async Info","Found up-to-date list membership status ("+c+") for list: "+a),c;N("Async Info","Ignoring out-of-date list membership status for list: "+a);return l}function nc(){if(!S.cdn3)return l;var a=(S.cdn3||l).location||{};return{continent:kc(a.continent),country:kc(a.country),region:kc(a.region),city:kc(a.city)}}
function oc(){var a=S.dcps||l;return!a?l:a.matchingRules_metadata&&a.matchingRules_metadata.uid&&a.matchingRules_metadata.uid!=pc()?(N("Async Info","Ignoring out-of-date DCP data; will wait for fresh data to arrive."),l):a.matchingRules||[]}function kc(a){return"string"!==typeof a||"N/A"===a.toUpperCase()?l:a.toUpperCase()};function qc(a){a=a||{};if(B){a&&a.sVariable&&(rc=a.sVariable);var b=rc||("undefined"!==typeof window.s?window.s:l);if(b)if(uc){a=vc;if(a!==l&&b)try{y("Integrator","Fixing SiteCatalyst referrer to %s",a),b.referrer=String(a)}catch(c){y("Integrator","Error setting SiteCatalyst referrer: %s",c)}y("Integrator","Tracking with SiteCatalyst");x(wc(),function(a){var c=R(a),a=T(c,a,100,100,25,k),f=a.key+": "+a.value,a=[],g=P(c,"site_catalyst_evar")||l,c=P(c,"site_catalyst_prop")||l;g!==l&&a.push("eVar"+g);
c!==l&&a.push("prop"+c);x(a,function(a){y("Integrator","Setting SiteCatalyst %s='%s'",a,f);b[a]=f})})}else xc=k;else N("Integrator","Error with SiteCatalyst integration: 's' variable not defined")}}function yc(a){a=$a(a)?Number(a):-1;if(-1!==[1,2,3].indexOf(a))zc=a;else return zc}
function Ac(){if(B){var a=vc;if(a!==l)try{y("Integrator","Fixing _gaq._setReferrerOverride with %s",a),_gaq.push(["_setReferrerOverride",a])}catch(b){y("Integrator","Error setting Google Analytics referrer: %s",b)}var c=[];x(wc(),function(a){var b=R(a);if(P(b,"chartbeat")){var d=Bc;Bc="";var e=T(b,a,10,10,5,o);Bc=d;d=Sb(a);Cc=e.key+": "+String(d);try{y("Integrator","Calling _cbq.push"),_cbq.push(["_optlyx",Cc])}catch(r){N("Integrator","Error sending Chartbeat data for "+Q(b))}}if(Wb(b)){var e=Wb(b),
d=T(b,a,100,100,25,k),n=e+(-1!==e.indexOf("?")?"&":"?")+"optimizely_experiment_id="+b+"&optimizely_experiment_name="+encodeURIComponent(d.key)+"&optimizely_variation_id="+a+"&optimizely_variation_name="+encodeURIComponent(d.value)+"&ns_m_exp=("+b+") "+encodeURIComponent(d.key)+"&ns_m_chs=("+a+") "+encodeURIComponent(d.value)+"&type=hidden";try{$(window).load(function(){N("Integrator","Sending comScore log call");Dc(n,l)})}catch(u){N("Integrator","Error sending comScore data for "+Q(b))}}if(P(b,"crazyegg")){e=
T(b,a,100,100,15,o);try{y("Integrator","Defining CE_SNAPSHOT_NAME"),window.CE_SNAPSHOT_NAME=e.key+": "+e.value}catch(w){N("Integrator","Error sending CrazyEgg data for "+Q(b))}}if(Xb(b)){e=Xb(b);d=0;K(e)&&(d=e.slot||d);var e=d,d=Xb(b),z="";K(d)&&(z=d.tracker||z);d=z;z=T(b,a,28,24,5,k);try{var D="";""!==d&&(D=d+".");y("Integrator","Calling _gaq._setCustomVar for slot %d and scope %d",e,zc);_gaq.push([D+"_setCustomVar",e,z.key,z.value,zc])}catch(I){N("Integrator","Error sending Google Analytics data for "+
Q(b))}}if(P(b,"inspectlet")){e=Bc;Bc="";d=T(b,a,100,100,25,o);Bc=e;try{N("Integrator","Calling __insp.push for sending data to Inspectlet"),window.__insp=window.__insp||[],window.__insp.push(["tagSession",{"Optimizely Experiment Name":d.key,"Optimizely Variation Name":d.value,"Optimizely Experiment ID":b,"Optimizely Variation ID":a}])}catch(G){N("Integrator","Error sending Inspectlet data for "+Q(b))}}if(C("kissmetrics")){e=T(b,a,100,100,15,k);d={};d[e.key]=e.value;try{y("Integrator","Calling _kmq.set"),
_kmq.push(["set",d])}catch(Ug){N("Integrator","Error sending KISSmetrics data for "+Q(b))}}if(P(b,"mixpanel")){e=T(b,a,100,100,15,o);d={};d[e.key]=e.value;try{y("Integrator","Calling mixpanel.push"),mixpanel.push(["register",d])}catch(Vg){N("Integrator","Error sending Mixpanel data for "+Q(b))}}if(P(b,"moat")){e=T(b,a,100,100,15,o);e=e.key+": "+e.value;try{y("Integrator","Calling optimizelyMoat.push"),optimizelyMoat.push(e)}catch(Wg){N("Integrator","Error sending Moat data for "+Q(b))}}P(b,"sessioncam")&&
(c=c.concat(Ec(b,a)));if(Zb(b,"acct_no")){e=Zb(b,"acct_no");d=Zb(b,"url");z=T(b,a,28,24,5,k);a=d+"/hit.xiti?s="+e+"&abmvc="+(b+"["+encodeURIComponent(z.key)+"]-0-"+a+"["+encodeURIComponent(z.value)+"]")+"&type=mvt";try{y("Integrator","Sending AT Internet log call for account %s",e),Dc(a,l)}catch(Xg){N("Integrator","Error sending AT Internet data for "+Q(b))}}});if(0<c.length){a=c;try{N("Integrator","Calling sessioncamConfiguration object"),window.sessioncamConfiguration=window.sessioncamConfiguration||
{},window.sessioncamConfiguration.customDataObjects=window.sessioncamConfiguration.customDataObjects||[],window.sessioncamConfiguration.customDataObjects=window.sessioncamConfiguration.customDataObjects.concat(a)}catch(d){N("Integrator","Error sending sessioncam data "+a)}}a=v("optimizelyChartbeat")||"";try{if(a&&Cc!=a&&(y("Integrator","Calling _cbq.push for referral"),_cbq.push(["_optlyr",a])),Cc!=a)y("Integrator","Set new Chartbeat referral cookie."),A("optimizelyChartbeat",Cc)}catch(e){N("Integrator",
"Error sending Chartbeat referral for "+a)}uc=k;Fc&&(Gc(),Fc=o);xc&&(qc(),xc=o)}}
function Hc(){if(window.ClickTaleContext){try{window.ClickTaleContext.getAggregationContextAsync("1",function(a){a.Location&&window.optimizely.push(["overrideUrl",a.Location]);for(var b in a.PageEvents){var e=a.PageEvents[b][2].match(/x[0-9]+=[0-9_]+/g);y("Integrator","Playback ClickTale Integration - %s",e);for(b=0;b<e.length;b++){y("Integrator","Playback ClickTale Integration - %s",e[b]);for(var f=e[b].split("=")[0].substr(1),g=e[b].split("=")[1].split("_"),h=0;h<g.length;h++)Ic(g[h])?y("Integrator",
"Skip activation for redirect."):window.optimizely.push(["activate",f,g[h],{force:k}])}}})}catch(a){y("Integrator","Playback ClickTale Aggregation Integration failed.")}try{window.ClickTaleContext.getRecordingContextAsync("1.1",function(a){if(a.inSingleRecordingScope){a.location&&window.optimizely.push(["overrideUrl",a.location]);y("Integrator","Playback ClickTale getRecordingContextAsync callback");for(var b in a.fields)y("Integrator","Playback ClickTale Integration - %s=%s",b,a.fields[b]),Ic(a.fields[b])?
y("Integrator","Skip activation for redirect."):window.optimizely.push(["activate",b,a.fields[b],{force:k}])}})}catch(b){y("Integrator","Playback ClickTale Recording Integration failed.")}}else y("Integrator","ClickTaleContext not defined.")}
function Jc(){y("Integrator","Tracking with ClickTale.");"function"==typeof window.ClickTaleField?x(wc(),function(a){var b=R(a),c=T(b,a,100,100,15,o),c=c.key+": "+c.value+" (x"+b+"="+a+")";y("Integrator","Setting ClickTale - %s",c);window.ClickTaleField(b,a);window.ClickTaleEvent(c)}):y("Integrator","ClickTaleField() not defined.")}function Kc(a){Bc=a}function Lc(a){rc=a}function Mc(a,b){return a.replace(/[^a-zA-Z0-9\.\~\!\*\(\)\']+/g,"_").substring(0,b)}
function wc(){var a=Nc.concat(U),b=[];x(Oc(),function(c){var e=R(c),f=o;if(Cb(e)){var g=Tb(c);H(a,e)&&(y("Integrator",'"%s" relevant because experiment active',g),f=k);f&&b.push(c)}});var c=Pc;c&&b.push(c);return b}function Ic(a){return(a=Qc(Qb(a)))?a[1]:l}
function Gc(){if(B)if(uc){var a=window[window.GoogleAnalyticsObject||"ga"];if(a){var b=vc;if(b!==l)try{y("Integrator","Fixing Universal Analytics set referrer with %s",b),(0,window[window.GoogleAnalyticsObject||"ga"])("set","referrer",b)}catch(c){y("Integrator","Error setting Universal Analytics referrer: %s",c)}y("Integrator","Tracking with Universal Analytics");x(wc(),function(b){var c=R(b);if(Yb(c,"slot")){var f=Yb(c,"slot"),g=Yb(c,"tracker"),h=T(c,b,100,100,25,k),b=h.key+" ("+c+"): "+h.value;
150<b.length&&(b=h.key.substring(0,80)+" ("+c+"): "+h.value,b=b.substring(0,149));c=g?g+".":"";y("Integrator","Calling ua set dimension - ga(%sset, dimension%d, %s)",c,f,b);a(c+"set","dimension"+f,b)}})}else N("Integrator","Error with Universal Analytics integration: 'GoogleAnalyticsObject' not defined")}else Fc=k}function Ec(a,b){N("Integrator","Preparing to send data to Sessioncam");return[T(a,b,100,100,15,o),{key:"Optimizely Exp "+a,value:"Optimizely Var "+b}]}
function T(a,b,c,d,e,f){a=Bc+Jb(a);b=Ub(b);1<b.length?(b=$.map(b,function(a){return a.substr(0,e-1)}),b=b.join("~")):b=b[0];f?(a=Mc(a,c),b=Mc(b.replace("#",""),d)):(a=a.substring(0,c),b=b.substring(0,d));return{key:a,value:b}}
function Rc(a,b,c){try{var d=O.get(Sc)||{},e=d[a],f;if(c&&e){var c={},g;if(e)for(g in e)e.hasOwnProperty(g)&&(c[g]=e[g]);if(b)for(g in b)if(b.hasOwnProperty(g)){var e=c,h=g,m;if(c[g]){var r=c[g],n=b[g];J(r)||(r=[r]);J(n)||(n=[n]);for(var u=[].concat(r),w=j,w=0;w<n.length;w++)ra(n[w],u)||u.push(n[w]);m=u}else m=b[g];e[h]=m}f=c}else f=b;d[a]=f;O.set(Sc,d)}catch(z){}}var Fc=o,xc=o,Cc="",zc=2,uc=o,Bc="Optimizely ",rc=l,Sc="thirdParty";function Tc(a,b,c,d){if(!E)return o;var e="number"===typeof c||"string"===typeof c?String(c):l,f=!!(c===k||c&&c.force===k||d&&d.force===k),d=("object"===typeof c?c:d)||{},c=d.skip===k,g=d.skipPageview===k,d=d.enabledStatus;if(e)try{Uc(b,e,k)}catch(h){N("Activator","Error while activating experiment "+b+" for variation "+e+" -- proceeding without bucketing user.")}var m=[];$a(b)?m.push(b):x(Bb(),function(a){Hb(a)&&m.push(a)});Vc(a,m,{Ca:f,Ya:k,Ba:d,bb:c,ta:g})}
function Wc(a,b,c){if(!E)return o;if(!("object"===typeof b&&"string"===typeof c))if("object"===typeof b&&!K(c))c=b.hasOwnProperty("lists")?"odds":"cdn3";else if(K(b)||K(c)){N("Activator","Unrecognized arguments to activateGeoDelayedExperiment: "+arguments);return}if("object"===typeof b&&"string"===typeof c){N("Activator","Saving async info from '"+c+"'");"cdn3"===c&&V("geoArrive");var d=b;K(d.matchingRules)&&(K(d.matchingRules_metadata)||(d.matchingRules_metadata={}),K(d.matchingRules_metadata.uid)||
(d.matchingRules_metadata.uid=pc()));var d=c,e=b,f=O.get("asyncInfo")||{};f[d]=e;O.set("asyncInfo",f);var d=(S[c]=b)&&b.lists||{},e={},g,h,m,r;for(r in d)d.hasOwnProperty(r)&&(0===r.indexOf("_")&&d[r])&&(g=r.substring(1).split("__"),h=g.shift(),f=g.shift(),g=g.join("__"),h&&(f&&g)&&(m=e,m[h]||(m[h]={}),m=m[h],m[f]||(m[f]=[]),m=m[f],m.push(g)));for(h in e)Rc(h,e[h],o);Xc?(N("Activator","Post-timeout; too late to act on new async info."),geolocation.cdn3Requested&&V("geoFailed")):(h=Yc.slice(),N("Activator",
"Trying to activate "+h.length+" delayed segments"),Zc(h),h=$c.slice(),N("Activator","Trying to activate "+h.length+" experiments"),Vc(a,h,{ta:Qa}),ad(),"object"===typeof b&&"string"===typeof c&&"cdn3"===c&&V("geoSuccess"))}else N("Activator","Timeout: will not act on future async info."),V("geoTimeout"),Xc=k}
function Vc(a,b,c){N("Activator","Triaging "+b.length+" experiments.");var d=[],e=[],f=[];x(b,function(b){c.Ca?(N("Activator","Force-ignoring conditions for experiment "+b),d.push(b)):bd(b)?cd(b,{manualActivation:c.Ya,objectType:"experiment",enabledStatus:c.Ba,visitor:a})?(N("Activator","Passed conditions for experiment "+b),d.push(b)):(N("Activator","Failed conditions for experiment "+b),f.push(b)):(N("Activator","Can't test conditions for experiment "+b),e.push(b))});$c=[];x(e,dd);var g=[];x(d,
function(a){ed(a,c.bb)&&g.push(a)});fd(g,b);gd();Ac();E&&!c.ta&&hd(document.location.href,"pageview",{ab:k})}
function Zc(a){N("Activator","Triaging "+a.length+" segments.");var b=[],c=[],d=[],e=[];x(a,function(a){$b(a,"is_api_only")?(N("Activator","Ignoring API-only segment "+a),e.push(a)):bd(a)?cd(a,{objectType:"segment"})?(N("Activator","Passed conditions for segment "+a),b.push(a)):(N("Activator","Failed conditions for segment "+a),d.push(a)):(N("Activator","Can't test conditions for segment "+a),c.push(a))});Yc=[];x(c,id);x(b,jd)}
function dd(a){N("Activator","Deferring test for experiment "+a);$c.push(a)}function id(a){N("Activator","Deferring test for segment "+a);Yc.push(a)}var $c=[],Yc=[],Xc=o;function kd(a,b){function c(a,b){var c=b&65535;return((b-c)*a|0)+(c*a|0)|0}for(var d=a.length,e=b||0,f=d&-4,g,h=0;h<f;h+=4)g=a.charCodeAt(h)&255|(a.charCodeAt(h+1)&255)<<8|(a.charCodeAt(h+2)&255)<<16|(a.charCodeAt(h+3)&255)<<24,g=c(g,3432918353),g=(g&131071)<<15|g>>>17,g=c(g,461845907),e^=g,e=(e&524287)<<13|e>>>19,e=5*e+3864292196|0;g=0;switch(d%4){case 3:g=(a.charCodeAt(f+2)&255)<<16;case 2:g|=(a.charCodeAt(f+1)&255)<<8;case 1:g|=a.charCodeAt(f)&255,g=c(g,3432918353),e^=c((g&131071)<<15|g>>>17,461845907)}e^=
d;e=c(e^e>>>16,2246822507);e=c(e^e>>>13,3266489909);return e^e>>>16};var ld=Math.pow(2,32);function md(a,b){var c=kd(a,b);return(c>>>16).toString(16)+(c&65535).toString(16)};/*


 UAParser.js v0.7.9
 Lightweight JavaScript-based User-Agent string parser
 https://github.com/faisalman/ua-parser-js

 Copyright ? 2012-2015 Faisal Salman <fyzlman@gmail.com>
 Dual licensed under GPLv2 & MIT
*/
function nd(){}var od={extend:function(a,b){for(var c in b)-1!=="browser cpu device engine os".indexOf(c)&&0===b[c].length%2&&(a[c]=b[c].concat(a[c]));return a},has:function(a,b){return"string"===typeof a?-1!==b.toLowerCase().indexOf(a.toLowerCase()):o},K:function(a){return a.toLowerCase()},oa:function(a){return"string"===typeof a?a.split(".")[0]:j}};
function pd(){for(var a,b=0,c,d,e,f,g,h,m=arguments;b<m.length&&!g;){var r=m[b],n=m[b+1];if("undefined"===typeof a)for(e in a={},n)f=n[e],"object"===typeof f?a[f[0]]=j:a[f]=j;for(c=d=0;c<r.length&&!g;)if(g=r[c++].exec(this.la()))for(e=0;e<n.length;e++)h=g[++d],f=n[e],"object"===typeof f&&0<f.length?2==f.length?a[f[0]]="function"==typeof f[1]?f[1].call(this,h):f[1]:3==f.length?a[f[0]]="function"===typeof f[1]&&(!f[1].exec||!f[1].test)?h?f[1].call(this,h,f[2]):j:h?h.replace(f[1],f[2]):j:4==f.length&&
(a[f[0]]=h?f[3].call(this,h.replace(f[1],f[2])):j):a[f]=h?h:j;b+=2}return a}function qd(a,b){for(var c in b)if("object"===typeof b[c]&&0<b[c].length)for(var d=0;d<b[c].length;d++){if(od.has(b[c][d],a))return"?"===c?j:c}else if(od.has(b[c],a))return"?"===c?j:c;return a}
var rd={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2E3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},sd={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],["name","version"],[/\s(opr)\/([\w\.]+)/i],[["name","Opera"],"version"],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,
/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium)\/([\w\.-]+)/i],["name","version"],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[["name","IE"],"version"],[/(edge)\/((\d+)?[\w\.]+)/i],["name","version"],[/(yabrowser)\/([\w\.]+)/i],[["name","Yandex"],"version"],[/(comodo_dragon)\/([\w\.]+)/i],[["name",/_/g," "],"version"],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i,/(uc\s?browser|qqbrowser)[\/\s]?([\w\.]+)/i],
["name","version"],[/(dolfin)\/([\w\.]+)/i],[["name","Dolphin"],"version"],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[["name","Chrome"],"version"],[/XiaoMi\/MiuiBrowser\/([\w\.]+)/i],["version",["name","MIUI Browser"]],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)/i],["version",["name","Android Browser"]],[/FBAV\/([\w\.]+);/i],["version",["name","Facebook"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],["version",["name","Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],
["version","name"],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],["name",["version",qd,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],["name","version"],[/(navigator|netscape)\/([\w\.-]+)/i],[["name","Netscape"],"version"],[/fxios\/([\w\.-]+)/i],["version",["name","Firefox"]],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,
/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],["name","version"]],Y:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",od.K]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],
[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",od.K]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",od.K]]],C:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],["model","vendor",["type","tablet"]],[/applecoremedia\/[\w\.]+ \((ipad)/],["model",["vendor","Apple"],["type","tablet"]],[/(apple\s{0,1}tv)/i],[["model","Apple TV"],["vendor",
"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],["vendor","model",["type","tablet"]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],["model",["vendor","Amazon"],["type","tablet"]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[["model",qd,{"Fire Phone":["SD","KF"]}],["vendor","Amazon"],["type","mobile"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],["model","vendor",["type","mobile"]],[/\((ip[honed|\s\w*]+);/i],
["model",["vendor","Apple"],["type","mobile"]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],["vendor","model",["type","mobile"]],[/\(bb10;\s(\w+)/i],["model",["vendor","BlackBerry"],["type","mobile"]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7)/i],["model",["vendor","Asus"],["type","tablet"]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],
[["vendor","Sony"],["model","Xperia Tablet"],["type","tablet"]],[/(?:sony)?(?:(?:(?:c|d)\d{4})|(?:so[-l].+))\sbuild\//i],[["vendor","Sony"],["model","Xperia Phone"],["type","mobile"]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],["vendor","model",["type","console"]],[/android.+;\s(shield)\sbuild/i],["model",["vendor","Nvidia"],["type","console"]],[/(playstation\s[3portablevi]+)/i],["model",["vendor","Sony"],["type","console"]],[/(sprint\s(\w+))/i],[["vendor",qd,{HTC:"APA",Sprint:"Sprint"}],["model",
qd,{"Evo Shift 4G":"7373KT"}],["type","mobile"]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],["vendor","model",["type","tablet"]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|huawei|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],["vendor",["model",/_/g," "],["type","mobile"]],[/(nexus\s9)/i],["model",["vendor","HTC"],["type","tablet"]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],["model",["vendor","Microsoft"],["type","console"]],[/(kin\.[onetw]{3})/i],[["model",/\./g,
" "],["vendor","Microsoft"],["type","mobile"]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i],["model",["vendor","Motorola"],["type","mobile"]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],["model",["vendor","Motorola"],["type","tablet"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n8000|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[["vendor","Samsung"],"model",["type","tablet"]],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-n900))/i,
/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[["vendor","Samsung"],"model",["type","mobile"]],[/(samsung);smarttv/i],["vendor","model",["type","smarttv"]],[/\(dtv[\);].+(aquos)/i],["model",["vendor","Sharp"],["type","smarttv"]],[/sie-(\w+)*/i],["model",["vendor","Siemens"],["type","mobile"]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[["vendor","Nokia"],"model",["type","mobile"]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],["model",["vendor","Acer"],["type","tablet"]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],
[["vendor","LG"],"model",["type","tablet"]],[/(lg) netcast\.tv/i],["vendor","model",["type","smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i],["model",["vendor","LG"],["type","mobile"]],[/android.+(ideatab[a-z0-9\-\s]+)/i],["model",["vendor","Lenovo"],["type","tablet"]],[/linux;.+((jolla));/i],["vendor","model",["type","mobile"]],[/((pebble))app\/[\d\.]+\s/i],["vendor","model",["type","wearable"]],[/android.+;\s(glass)\s\d/i],["model",["vendor","Google"],["type","wearable"]],[/android.+(\w+)\s+build\/hm\1/i,
/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus)?[\s_]*(?:\d\w)?)\s+build/i],[["model",/_/g," "],["vendor","Xiaomi"],["type","mobile"]],[/(mobile|tablet);.+rv\:.+gecko\//i],[["type",od.K],"vendor","model"]],aa:[[/windows.+\sedge\/([\w\.]+)/i],["version",["name","EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],["name","version"],
[/rv\:([\w\.]+).*(gecko)/i],["version","name"]],qa:[[/microsoft\s(windows)\s(vista|xp)/i],["name","version"],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*|windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],["name",["version",qd,rd]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[["name","Windows"],["version",qd,rd]],[/\((bb)(10);/i],[["name","BlackBerry"],"version"],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,
/linux;.+(sailfish);/i],["name","version"],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[["name","Symbian"],"version"],[/\((series40);/i],["name"],[/mozilla.+\(mobile;.+gecko.+firefox/i],[["name","Firefox OS"],"version"],[/(nintendo|playstation)\s([wids3portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,
/(gnu)\s?([\w\.]+)*/i],["name","version"],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[["name","Chromium OS"],"version"],[/(sunos)\s?([\w\.]+\d)*/i],[["name","Solaris"],"version"],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],["name","version"],[/(ip[honead]+)(?:.*os\s*([\w]+)*\slike\smac|;\sopera)/i],[["name","iOS"],["version",/_/g,"."]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[["name","Mac OS"],["version",/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(haiku)\s(\w+)/i,
/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],["name","version"]]};
function td(a,b){if(!(this instanceof td))return(new td(a,b)).Oa();var c=a||(nd&&nd.navigator&&nd.navigator.userAgent?nd.navigator.userAgent:""),d=b?od.extend(sd,b):sd;this.m=function(){var a=pd.apply(this,d.browser);a.oa=od.oa(a.version);return a};this.Ga=function(){return pd.apply(this,d.Y)};this.I=function(){return pd.apply(this,d.C)};this.Ka=function(){return pd.apply(this,d.aa)};this.ia=function(){return pd.apply(this,d.qa)};this.Oa=function(){return{xb:this.la(),browser:this.m(),aa:this.Ka(),
qa:this.ia(),C:this.I(),Y:this.Ga()}};this.la=function(){return c};this.$a=function(a){c=a};this.$a(c);return this}td.VERSION="0.7.9";td.gb={X:"name",mb:"major",VERSION:"version"};td.ib={fb:"architecture"};td.jb={ob:"model",VENDOR:"vendor",sb:"type",hb:"console",nb:"mobile",qb:"smarttv",rb:"tablet",ub:"wearable",kb:"embedded"};td.lb={X:"name",VERSION:"version"};td.pb={X:"name",VERSION:"version"};nd.va=td;function ud(a){a=(a||"").toLowerCase();if(a in vd)return a;for(var b in vd)if(F(vd[b]||[],function(b){return b.toLowerCase()===a}))return b;return"unknown"}var vd={gc:["Chrome","chromium","silk","yandex","maxthon"],ie:["Internet Explorer","iemobile"],edge:["Edge"],ff:["Firefox","iceweasel"],opera:["Opera","opera mini","opera tablet"],safari:["Safari","mobile safari","webkit"],ucbrowser:["UC Browser"]},wd={iPhone:"iphone",iPad:"ipad"};var xd,zd;function Ad(a,b,c){Rc(a,b,!!c);ad()}function Bd(a,b){var c=Eb(a)||a,d=Fb()[c];d?d.audience_id?W.B(d.audience_id):d.dimension_id?W.N(d.dimension_id,b||k,o):Cd(c,b):N("API","Unable to find segment: "+c)}
function Uc(a,b,c){Pa=k;E&&c!==k&&hd(document.location.href,"pageview",{ab:k});var a=String(a),b=String(b),d=l,e=b.split("_"),f=Kb(a),b=f&&0!==f.length;if("-1"===e[0]){c=a;Dd[c]&&delete Dd[c];Ed[c]&&delete Ed[c];for(e=0;e<X.length;e++)X[e].F===c&&X.splice(e,1);Fd()}else if(b&&e.length==f.length)d=[],x(e,function(a,b){256>=Number(a)?d.push(Pb(f[b])[a]):d.push(a)}),d=d.join("_");else if(!b&&1==e.length&&256>=Number(e[0])){var c=String,e=e[0],g=Lb(a),h=l;try{h=g[e]}catch(m){}d=c(h)}else 1==e.length?
d=e[0]:N("API","Error: could not bucket user. Unknown arguments.");d&&(b&&Ob(a,d)?(b=d,c=Ob(a,b),Gd[a]=Gd[a]||{},Gd[a][c]=b,N("Distributor","Preferring variation partial "+b+" of section "+c+" of experiment "+a),a=Hd(a),1===a.length&&Id(a[0],"api.bucketUser",k)):Id(d,"api.bucketUser",k));gd()}function Jd(a){a&&"tracking"===a||(N("API","Optimizely disabled"),E=o);B=o}function Kd(){N("API","Finalizing API.");ad();xd=k}
function Ld(){if(C("slave"))return SLAVE_CLIENT.optimizely.get.apply(l,Array.prototype.slice.call(arguments))}function Md(a,b,c){var d=[],e=b,c=K(c)?c:o;J(b)&&(e=b[0],d=Wa(b,1));(a=a[e])?(N("API",'Called function "'+e+'"'),a.apply(l,d)):c||N("API",'Error for unknown function "'+e+'"');C("slave")&&SLAVE_CLIENT.optimizely.push(b);dc()}function Nd(a,b){xd?N("API","Error: can't add custom tags after Optimizely loads"):(zd=zd||{},2==arguments.length?zd[a]=b:1==arguments.length&&$.extend(k,zd,a))}
function Od(a,b){var c=Eb(a)||a,b=K(b)?b:k,d=Fb()[c];d?d.audience_id?W.W(d.audience_id):d.dimension_id?W.N(d.dimension_id,l):Pd(c,b):N("API","Unable find segment for: "+c)}function Qd(){var a=M(Fb());x(a,function(a){Od(a,o)});Rd()}
function ad(){Sd={};Td={};Ud={};x(Oc(),function(a){var b=R(a);Sd[b]=a.split("_");Td[b]=Sb(a);Ud[b]=Tb(a)});Y={};var a=C("audiences");a&&(Y.audiences=a);Y.experiments={};Y.sections={};Y.segments={};Y.state={};Y.variations={};Y.visitor={};Y.customTags=zd;Y.thirdParty=O.get(Sc)||{};for(var b=Bb(),a=0;a<b.length;a++){var c=b[a],d={};d.code=P(c,"code")||"";d.name=Jb(c);d.conditional=Ib(c);d.manual=Hb(c);d.section_ids=Kb(c);d.variation_ids=Lb(c);Y.experiments[c]=d}b=M(Fb());for(a=0;a<b.length;a++)c=b[a],
Y.segments[c]={name:$b(c,"name")||"Seg "+c};b=M(C("sections")||{});for(a=0;a<b.length;a++)c=b[a],d={},d.name=C("sections",c,"name")||"Sec "+c,d.variation_ids=Pb(c),Y.sections[c]=d;b=M(C("variations")||{});for(a=0;a<b.length;a++)c=b[a],d={},d.name=Tb(c),d.code=Qb(c),Y.variations[c]=d;b={};a=Vd();L(b,{browser:vd[a]?vd[a][0]:a,browserVersion:Wd(),device:Xd().id,deviceType:Xd().type,platform:Yd(),mobile:Zd(),mobileId:$d(),os:Yd().id});var e={};x(Mb(),function(a){e[a]=lc(a)});b.lists=e;b.location=nc();
b.ip=jc();b.matchingRules=oc();b.params={};c=ae();c.reverse();a=0;for(d=c.length;a<d;a++)try{b.params[ka(c[a][0])]=ka(c[a][1])}catch(f){N("API","Failed to decode parameter "+c[a][0]+"="+c[a][1])}b.referrer=String(document.referrer);b.segments=be();b.dimensions=W.k;b.audiences=W.g;Y.visitor=b;a={};a.activeExperiments=Nc||[];a.variationIdsMap=Sd;a.variationMap=Td;a.variationNamesMap=Ud;a.enabled=E;Y.state=a;L(window.optimizely,{activeExperiments:Nc,allExperiments:Gb(),all_experiments:Gb(),data:Y,variationIdsMap:Sd,
variationMap:Td,variationNamesMap:Ud,variation_map:Td})}function ce(a){if(!$a(a))return o;Fa=Number(a)}function de(){Ja=k}function ee(a){var b="";"number"!==typeof a?(b="must be a number.",a=31536E4):a=Math.floor(86400*a);7776E3>a&&(b="less then minimum.",a=7776E3);N("API",(b&&"Days argument "+b)+" Cookie expiration set to "+a+" seconds.");Ra=a}function fe(){Qa=k}
function ge(){v("optimizelyReportableFix")?N("API","skipping because cookie is set"):(x(C("audiences"),function(a){sb(a)&&(N("API","Removing from reportable audience: "+a),W.W(a))}),A("optimizelyReportableFix","1",7776E3))}function he(a){var b=Ta();a?A("optimizelyPPID",a,Ra):xa("optimizelyPPID",ya());a!==b&&(N("Plan","Resetting visitor buckets"),ie={},Dd={},Ed={},X=[],gd());N("API","Set PPID to "+a)}var Y={},je={},Sd={},Td={},Ud={},W=l;function ke(a,b){var c;a:{c={};var d,e=C("custom_revenue_goals");e&&(a in e&&$a(e[a]))&&(d=Number(e[a]));if(b)if($a(b))d=Number(b);else if("object"===typeof b){if(c=L({},b),"revenue"in c)if($a(c.revenue))d=Number(c.revenue),delete c.revenue;else{y("tracker","Revenue field %s not a number.",c.revenue);c=l;break a}}else{y("tracker","Revenue argument %s not a number.",b);c=l;break a}K(d)&&(c.j=d)}if(c===l)y("tracker","Bad options. Will not track this event.");else{d=zb();var f={};x(d,function(a){f[a]=
k});$.extend(c,{p:f});hd(a,"custom",c)}}function hd(a,b,c){c=c||{};B&&(le.push({name:a,type:b,Z:+new Date/1E3,options:c}),me?(ne(),N("Tracker","Tracking event '"+a+"'")):N("Tracker","Queued tracking event '"+a+"'"))}function oe(){pe();$("html").bind("mousedown",qe);$("html").bind("touchstart",re)}function pe(){$("html").unbind("touchstart",re);$("html").unbind("mousedown touchend",qe);$("html").unbind("touchmove",oe)}function re(){$("html").bind("touchend",qe);$("html").bind("touchmove",oe)}
function se(){var a=document.location.href,b=C("pageview_revenue_goals");b&&0<M(b)?x(M(b),function(c){hd(a,"pageview",{j:c,p:b[c]})}):hd(a,"pageview")}function te(){var a=v("optimizelyPendingLogEvents")||"[]",b=[];try{b=ea(a)}catch(c){}if(J(b))for(var a=0,d=b.length;a<d;a++){var e=b[a];if("string"!==typeof e){b=[];break}else try{ea(e);b=[];break}catch(f){}}else b=[];return b}
function Dc(a,b){if(ue&&-1!==a.indexOf(ve))try{var c=new XMLHttpRequest;if("withCredentials"in c){c.onload=b;c.open("GET",a,k);c.withCredentials=k;c.send();return}ue=o;N("Tracker","Found that XHR with credentials is not supported in this browser.")}catch(d){N("Tracker","XHR not supported"),ue=o}var c=a,e=new Image;e.onload=b;c=c.replace("&"+ve,"");e.src=c;we.push(e)}
function xe(a){var b=(a=a===k||"true"===a)?"true":"false";a?(A("optimizelyOptOut",b,Ra),A("optimizelyBuckets",b,Ra),alert("You have successfully opted out of Optimizely for this domain.")):(A("optimizelyOptOut",b,Ra),alert("You are NOT opted out of Optimizely for this domain."))}function qe(){pe();hd("engagement","engagement")}var le=[],me=o;
function ne(){var a=["a="+Nb(),"d="+qb(),"y="+!!C("ip_anonymization"),"src=js"];Pa&&a.push("override=true");x(Oc(),function(b){var c=R(b);a.push("x"+c+"="+b)});x(be(),function(b,c){c=encodeURIComponent(ka(c));a.push("s"+b+"="+c)});a.push("tsent="+ +new Date/1E3);var b=[],c=Sa(),d=Ta();x(le,function(a){var e=[],f=[];a.name&&(e.push("n="+encodeURIComponent(a.name)),f=f.concat(Db(a.name)));if(a.type&&"pageview"===a.type){var f=f.concat(Nc.concat(U)),g=Pc;g&&(g=R(g),f.push(g))}a.options.anonymous!==k&&
(e.push("u="+c),d&&e.push("p="+encodeURIComponent(d)));ue&&e.push(ve);a.Z&&e.push("time="+a.Z);Ja&&e.push("dtpc="+Ja);var h=!!a.options&&!!a.options.j&&a.options.p||{},g=M(h),n=Za(zb(),function(a){return!h[a]}),f=[{Q:g,ma:f.concat([C("summary_revenue_goal_id")||l]),ba:["v="+encodeURIComponent(a.options.j)]},{Q:n,ma:f,ba:[]}];x(f,function(a){(a.Q.length||Ga)&&b.push(e.concat(a.ba).concat(["f="+a.Q.join(","),"g="+a.ma.join(",")]).join("&"))});if("custom"===a.type)try{var m=a.name,r=Sa(),u=O.get("customEvents")||
{},ia=u[r]||(u[r]=[]),ia=J(ia)?ia:[];-1!==$.inArray(m,ia)&&ia.splice($.inArray(m,ia),1);ia.push(m);100<ia.length&&ia.shift();u[r]=ia;O.set("customEvents",u);xa("optimizelyCustomEvents",ya())}catch(De){}});var e=b.concat(te());ye(e);var f=a.join("&"),e=ze?b:e;ze=k;for(var g=0,h=e.length;g<h;g++){var m=e[g],r=f+"&"+m;N("Tracker","Making a log request.");var r=r+("&cx1="+md(r,65259)),n=Nb(),u=C("log_host");n&&(u=n.toString()+"."+u);n=document.location.protocol;"chrome-extension:"===n&&(n="http:");Dc(n+
"//"+u+"/event?"+r,function(){for(var a=m,b=te(),c=0,d=b.length;c<d;c++)if(b[c]===a){b.splice(c,1);break}ye(b);N("Tracker","Removed a pending log event from the pending events cookie.")})}le=[];me=k}function ye(a){for(var b=t(a);1536<b.length;)a=a.slice(0,-1),b=t(a);A("optimizelyPendingLogEvents",b,15)}var we=[],ze=o,ve="wxhr=true",ue=k;function Ae(a,b,c,d){this.n=a;this.y=b;c&&0<M(c).length&&(this.o=c);K(d)&&(this.r=d)}
Ae.prototype.hash=function(){if(this.q)return this.q;var a;a=[];a.push(encodeURIComponent("n")+"="+encodeURIComponent(this.n));a.push(encodeURIComponent("y")+"="+encodeURIComponent(this.y));this.r&&a.push(encodeURIComponent("r")+"="+encodeURIComponent(this.r));if(this.o)for(var b=this.o||{},c=Za(M(b),function(a){return b.hasOwnProperty(a)}),c=c.sort(),d=0;d<c.length;d++)a.push(encodeURIComponent(c[d])+"="+encodeURIComponent(b[c[d]]));a=a.join("&");var e=String.fromCharCode;a=a.replace(/[\S\s]/gi,
function(a){var a=a.charCodeAt(0),b=e(a&255);255<a&&(b=e(a>>>8&255)+b);65535<a&&(b=e(a>>>16)+b);return b});return this.q=md(a,2716770798)};function Be(a,b){if(a.hash()!==b.hash()||a.n!==b.n||a.y!==b.y||a.r!==b.r)return o;if(!a.o&&!b.o)return k;var c=a.o||{},d=b.o||{},e=Za(M(c),function(a){return c.hasOwnProperty(a)}),f=Za(M(d),function(a){return d.hasOwnProperty(a)});if(e.length!==f.length)return o;for(f=0;f<e.length;f++){var g=e[f];if(!d.hasOwnProperty(g)||c[g]!==d[g])return o}return k}
Ae.prototype.c=function(a,b){var c=Ya(this,a);return K(c)?c:b};Ae.prototype.O=function(a,b){if("n"===a||"y"===a||"r"===a||"o"===a)this[a]=b,this.q=l,this.hash()};function Ce(a,b,c){this.D=a;this.t=b;K(c)&&(this.s=c)}Ce.prototype.c=function(a,b){if(0===a.length)return this;var c={};c.t=this.t;c.s=this.s;c=Ya(c,a);return K(c)?c:this.D.c(a,b)};Ce.prototype.O=function(a,b){"t"===a||"s"===a?this[a]=b:this.D.O(a,b)};function Ee(){var a;if(!(a=Fe)){var b=new nd.va(window.navigator.userAgent);a=b.m();var c=b.ia(),b=b.I(),d=b.model in wd?wd[b.model]:"unknown",e=(c.name||"unknown").toLowerCase(),f;a:if(H(["mobile","tablet"],b.type))f=k;else{if(d&&"unknown"!==d)for(f in wd)if(d===wd[f]){f=k;break a}f=H(["android","blackberry","ios","windows phone"],e)?k:o}a={wa:ud(a.name),xa:a.version,platform:{id:e,version:c.version},C:{id:d,type:b.type||(f?"mobile":"desktop"),u:f}}}return Fe=a}function Vd(){return Ee().wa}
function Wd(){return Ee().xa}function Xd(){return Ee().C}function Ge(a){if(!a)return"";try{return a.match(/:\/\/(?:www[0-9]?\.)?(.[^/:]+)/)[1]}catch(b){return""}}function Yd(){return Ee().platform}function He(a){return O.get([Ta()||Sa(),a].join("$$"))}function $d(){var a="android;blackberry;ipad;iphone;ipod;windows phone".split(";");return H(a,Xd().id)?Xd().id:H(a,Yd().id)?Yd().id:Zd()?"mobile":"unknown"}function Zd(){return Xd().u}function Ie(){return Je?"returning":"new"}Yd=function(){return Ee().platform};
function Ke(a){y("User","Setting current URL to %s",a);Le=a}var Le=j,Fe=j,Je=j;var Me={},Ne=[];function Oe(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=Pe(d);b[c]=new Ce(e,d.t)}return b}function Pe(a,b){var c=new Ae(a.n,a.y,a.o,a.r);K(b)&&(c.q=b);return c}function Qe(a){for(var b=[],c=0;c<a.length;c++)for(var d=a[c],e=Pe(d.eb,d.h),f=d.tb,d=d.ts,g=0;g<d.length;g++){var h=d[g];b[h.i]=new Ce(e,f+h.d)}return b};function Re(){try{var a;if(C("is_behavior_enabled")){if(0===Ne.length&&C("is_behavior_enabled")){var b=He("events")||[],c=He("event_queue")||[];if(0===b.length&&0===c.length)Ne=[];else{"eb"in(b[0]||c[0])?(b=Qe(b),c=Qe(c)):(b=Oe(b),c=Oe(c));Ne=b.concat(c);1E3<Ne.length&&(Ne=Ne.slice(-1E3));c=Ne;for(b=0;b<c.length;b++){var d=c[b],e;b:{var f=c[b].D,g=f.hash(),h=Me[g];if("undefined"===typeof h)Me[g]=[f];else{for(var m=0;m<h.length;m++)if(Be(f,h[m])){e=h[m];break b}h.push(f)}e=f}d.D=e}}var d=Ne,r=d.length;
if(0!==r){d[0].O("s",d[0].c(["t"]));for(e=1;e<r;e++){var n=d[e-1],u=d[e];u.O("s",18E5>Math.abs(n.c(["t"],0)-u.c(["t"],0))?n.c(["s"]):u.c(["t"]))}}}a=Ne.slice(-1E3)}else a=[];return a}catch(w){y("Behavior","Error "+w.toString()+" getting events")}return[]};function Se(){return(new Date).getTime()-(Te||0)}var Te=Se();function V(a){var b=Ue;b.e[a]||(b.e[a]=Se())}var Ve;try{Ve=!document.getElementsByTagName("body")[0]}catch(We){Ve=l}var Xe=l;try{window.requestAnimationFrame(function(){Xe=Se()})}catch(Ye){}var Ze=/\/\/[^.]+\.optimizely\.(com|test)\/(js|api\/client)\/[\d]+\.js/gi;
function $e(){try{var a=Za(window.performance.getEntries(),function(a){return!!Ze.test(a.name)})[0];if(!a)return l;var a=L({},a),b;for(b in a){var c=a[b];(0===c||"string"===typeof c)&&delete a[b]}return a}catch(d){return l}}var Ue=new function(){this.e={};this.Ua=Math.random()<ac();geolocation.cdn3Requested&&(this.e.geoRequest=geolocation.cdn3Requested-Te)};function ed(a,b){var b=b===k,c,d=l;x(X,function(b){a==b.F&&(d=b.id)});if((c=d)&&0<c.length)return N("Distributor","Not distributing experiment "+a+" (already in plan)"),k;if(b||a in Dd)return N("Distributor","Not distributing experiment "+a+" (is ignored)"),o;c=P(a,"enabled_variation_ids")||[];if(0===c.length)return N("Distributor","Permanently ignoring experiment "+a+" (no enabled variations)"),af(a),o;var e=P(a,"ignore")||0,f=bf();if(e>Math.floor(1E4*((kd(f+a,0)>>>0)/ld)))return N("Distributor",
"Permanently ignoring experiment "+a+"("+e/100+"% likelihood)"),af(a),o;e=c;Gd[a]!==j&&(N("Distributor","Taking into account bucketUser variations for experiment "+a),e=Hd(a));var f=e,g=[],h=P(a,"variation_weights")||{};x(f,function(a){g.push(h[a])});f=cf(a,g);e=e[f];N("Distributor","Picked variation "+e+" [index "+f+" of "+c.length+"]");Id(e,"distributor");return k}
function df(a,b){b=b||{};N("Distributor","Configuring conditionally-activated experiment: "+a);je[a]?N("Distributor","Not configuring conditionally-activated experiment (already done): "+a):!Cb(a)&&b.force!==k?N("Distributor","Not configuring conditionally-activated experiment (not enabled): "+a):(ef(a,b),xd&&ad())}
function ef(a,b){function c(){Tc(W,a,b);m.isActive=H(Nc.concat(U),a);N("Distributor","Activating conditionally activated experiment "+a)}var d=P(a,"conditional_code"),e=k,f;try{var g=eval("(function() {return "+("("+d+")")+";})()");"function"===typeof g&&(e=o,f=g)}catch(h){}var m={isActive:o,experimentId:a};if(e){if(e={objectType:"experiment",enabledStatus:b.enabledStatus},b.force||!bd(a)||cd(a,e)){var r=function(){bd(a)&&(ff(0,{value:d})||g)?c():setTimeout(r,50)};r();N("Distributor","Set up conditional polling for "+
a);je[a]=k}}else try{f(c,m),N("Distributor","Set up conditional callback for "+a),je[a]=k}catch(n){N("Distributor","Error running conditional callback function for "+a)}}function bf(){return Ta()||Sa()}function cf(a,b){var c=b.length;if(0===c)return l;if(1===c)return 0;for(var d=0,e=0;e<c;e++)d+=b[e];e=bf();d*=(kd(e+a,1)>>>0)/ld;for(e=0;e<c;e++){if(d<b[e])return e;d-=b[e]}d=bf();return Math.floor((kd(d+a,2)>>>0)/ld*c)}
function Hd(a){var b=[];x(P(a,"enabled_variation_ids")||[],function(c){var d=k,e;for(e in Gd[a])-1===c.indexOf(Gd[a][e])&&(d=o);d&&b.push(c)});return b}var Gd={};var pc=bf;function mc(a){if(-1===a.indexOf("_"))return N("Async Request","Can't determine a value for this list-targeted key: "+a),l;var b=a.split("_"),c=b[0],b=b.slice(1).join("_"),d=j;if("c"===c)d=Z.G(b);else if("q"===c)d=Z.b(b);else return N("Async Request","Can't determine a value for this list-targeted key: "+a),l;if(d===l)N("Async Request","Returning undefined for this list-targeted key: "+a);else{if("string"!==typeof d)return N("Async Request","Couldn't determine a string value for this list-targeted key: "+
a),l;if(100<d.length)return N("Async Request","Withholding the overlong value for this list-targeted key: "+a),l;N("Async Request","Returning a value for this list-targeted key: "+a);return d}};function gf(a){if(0===$("body").length)setTimeout(function(){gf(a)},20);else{var b;b='<div id="optimizely-loading" style="position:absolute;top:0;right:0;left:0;bottom:0;background-color:white;opacity:0.9;z-index: 3271000;"><h2 style="color:#9a9a9a;top:40%;position:absolute;font-size:2.25em;text-align:center;width:100%;font-family:\'Lucida Grande\',sans-serif;">'+a+"</h2></div>";$("#optimizely-loading").remove();$("body").append(b)}}var hf=C("preview_host");function ae(){var a=window.location.search||"";0===a.indexOf("?")&&(a=a.substring(1));for(var a=a.split("&"),b=[],c=0;c<a.length;c++){var d="",e="",f=a[c].split("=");0<f.length&&(d=f[0]);1<f.length&&(e=f[1]);b.push([d,e])}return b}function jf(){for(var a=window.location.search,b,c=/optimizely_([^=]+)=([^&]*)/g,d={};b=c.exec(a);)d[b[1]]=b[2];return d}var kf=/x(\d+)/;function lf(a){return a&&-1!==String(a).indexOf("[native code]")};function Qc(a){return a.match(/_optimizely_redirect(?:_no_cookie)?=(\S+)/)}function mf(a){return-1!==a.indexOf("_optimizely_redirect_no_cookie")}function nf(a){var a=a||"",b=v("optimizelyRedirect");return mf(a)||!b||b&&"true"===b.split("|")[1]?k:o}function of(){var a;a=K(a)?a:document.referrer;A("optimizelyReferrer",a,5)}
var vc=l,Pc="",pf=/^\/\* _optimizely_redirect.+\*\/[ ]*\nwindow\.location\.replace\(_optly\.redir\.href.*\)[ ]*[;]?$/,qf=/^\/\* _optimizely_redirect.+\*\/[ ]*\nvar[ ]*_optly[ ]*=[ ]*{[ ]*redir:document\.createElement\("a"\)\}[;]?\n_optly\.redir\.href\=.*\n_optly\.cur=.+\nif \(_optly.cur\)[ ]?{.+}[ ]*\nwindow\.location\.replace\(_optly\.redir\.href.*\)[ ]*[;]?$/,rf=/^\/\* _optimizely_redirect.+\*\/[ ]*[\n]+window\.location\.replace\([ ]*redirectFirst.*\)[ ]*[;]?$/;function sf(a){var b=a||tf;N("Segmenter","Loading segments cookie.");if(a=v("optimizelySegments")){try{a=ea(a)}catch(c){a={}}x(a,function(a,c){var d=Fb()[a];N("Segmenter","Segments cookie contains segment id: "+a);d&&d.audience_id?b.B(d.audience_id):d&&d.dimension_id?b.N(d.dimension_id,c,o):uf[a]=c})}Zc(M(Fb()));vf.push(wf);Rd();N("Integrator","Loading third-party segments.");if(window.bk_results){a=window.bk_results;N("Integrator","Loading BlueKai segments.");try{x(a.campaigns,function(a){a=a.seg_id;
Fb()[a]?Cd(a,k):rb(a)&&b.B(a)})}catch(d){N("Integrator","Error loading BlueKai segments.")}}}function wf(){var a={};x(uf,function(b,c){c&&(a[b]=c)});A("optimizelySegments",t(a),Ra)}function Cd(a,b){a&&!isNaN(parseInt(a,10))?(!b&&""!==b&&(b=k),uf[a]=b,Rd()):N("Segmenter","Unable to find segment for ID: "+a)}function Rd(){x(vf,function(a){a()})}function jd(a){N("Segmenter","Evaluating Segment "+a);var b=xf(a);b!==l&&Cd(a,b)}
function xf(a){if($b(a,"is_api_only"))return l;var b=l,c=l;switch($b(a,"segment_value_type")||""){case "browser":b=Z.da();c="unknown";break;case "campaign":b=Z.Ha();c="none";break;case "country":b=Z.J().country;c="unknown";break;case "language":b=Z.R();c="none";break;case "mobile":b=Z.u();break;case "os":b=Z.ja().id;c="unknown";break;case "referrer":b=Z.Na();c="none";break;case "source_type":b=Z.Pa();c="direct";break;default:return"true"}if(b===l){if(uf.hasOwnProperty(a))return l;b=c}return yf(b)}
function zf(){var a=Z.T();if(Z.b("utm_source")||Z.b("utm_campaign")||Z.b("gclid")||Z.b("otm_source"))return"campaign";for(var b=["google\\.\\w{2,3}(\\.\\w{2,3})?/(search|url)","https://(www\\.)?google\\..*?/$","http(s)?://www\\.bing\\.\\w{2,3}(\\.\\w{2,3})?/","r\\.search\\.yahoo\\.\\w{2,3}(\\.\\w{2,3})?/","baidu\\.\\w{2,3}(\\.\\w{2,3})?/"],c=0;c<b.length;c++){var d=b[c];try{if(a.match(d))return"search"}catch(e){y("Segmenter","%s: %s while matching %s",e.name,e.message,d)}}return a&&Ge(a)!==Ge(Z.H())?
"referral":l}function Af(){var a=[];x(uf,function(b,c){c&&a.push(b)});return a}function be(){var a={};x(uf,function(b,c){c&&(a[String(b)]=c)});return a}function Bf(a){return x(uf,function(b,c){if(($b(b,"segment_value_type")||"")==a)return c})}function Pd(a,b){var c=Eb(a)||a;uf[c]?(uf[c]=o,("undefined"===typeof b||b)&&Rd()):N("Segmenter","Not removing "+a+", not found")}
function yf(a,b){var c,b=K(b)?b:k;c=c||Cf;a=ka(a);a=String(a);b&&(a=a.toLowerCase());a=a.substring(0,c);return encodeURIComponent(a)}var vf=[],uf={},Cf=20;function Df(){}
L(Df.prototype,{da:Vd,Fa:Wd,Ma:$d,u:Zd,m:function(){return{id:this.da(),version:this.Fa(),mobileId:this.Ma()}},Ha:function(){return this.b("utm_campaign")},G:v,I:Xd,S:jc,Ea:Re,R:function(){var a="";try{a=navigator.userLanguage||window.navigator.language,a=a.toLowerCase()}catch(b){a=""}return a},J:nc,H:function(){return Le||window.location.href},ha:Ie,La:function(){return!Je?k:!!fb.get("first_session")},Da:ae,ja:Yd,T:function(){return v("optimizelyReferrer")||document.referrer||""},Qa:function(a){var a=
a.split("."),b=a[0];a:{for(var a=a.slice(1),b=(O.get(Sc)||{})[b],c=0,d=a.length;c<d;c++)if(ba(b)&&b.hasOwnProperty(a[c]))b=b[a[c]];else{a=j;break a}a=b}return a},Sa:function(){return Ta()!==l},Na:function(){return Ge(this.T())},ka:Af,Pa:zf,Ja:function(){return document.referrer},b:function(a){a:{for(var b=this.Da(),b=b||ae(),c=0;c<b.length;c++){var d=b[c];if(d[0]===a){a=d[1];a=a.replace(/\+/g," ");a=ka(a);break a}}a=l}return a},Ia:function(){return zd},ea:function(a){return(this.Ia()||{})[a]},Ra:function(){var a=
(O.get("customEvents")||{})[Sa()]||[];return J(a)?a:[]},Ta:function(a){var b=this.ka();return H(b,a)},ua:function(a){return H(this.Ra(),a)},getDate:function(){return new Date},fa:lc,ga:oc});var Z=new Df;function Ef(a,b,c){if(a.c)return a.c(b,c);a=Ya(a,b);"undefined"===typeof a&&(a=c);return a}function Ff(a){return"string"===typeof a?bb(a).toLowerCase():a}
var Gf=["*"],Hf={eq:function(a){a=Xa(a,Ff);return a[0]==a[1]},is:function(a){return a[0]===a[1]},gt:function(a){return a[0]>a[1]},lt:function(a){return a[0]<a[1]},gte:function(a){return a[0]>=a[1]},lte:function(a){return a[0]<=a[1]},"in":function(a){var b=Xa(a[1]||[],Ff);return H(b,Ff(a[0]))},between:function(a){return a[1]<=a[0]&&a[0]<=a[2]},contains:function(a){a=Xa(a,function(a){return"string"===typeof a?a.toLowerCase():a});return-1!==(a[0]||"").indexOf(a[1])},regex:function(a){try{var b=a[1][0]||
"",c=a[1][1]||"";return RegExp(b,c).test(a[0])}catch(d){return y("Rules",'In operator "regex", error: '+(d.message||"invalid RegExp /"+[b,c].join("/"))),o}},and:function(a){return Ua(a,aa())},or:function(a){return F(a,aa())},not:function(a){return!a[0]}},If={"+":function(a){return(a[0]||0)+(a[1]||0)},"-":function(a){return(a[0]||0)-(a[1]||0)},"/":function(a){return(a[0]||0)/(a[1]||1)},"%":function(a){return(a[0]||0)%(a[1]||1)}},Jf={sum:function(a,b){for(var c=a[0]||Gf,d=0,e=0;e<b.length;e++)d+=Ef(b[e],
c,0);return d},avg:function(a,b){if(0==b.length)return 0;for(var c=a[0]||Gf,d=0,e=0;e<b.length;e++)d+=Ef(b[e],c,0);return d/b.length},max:function(a,b){for(var c=a[0]||Gf,d=Number.NEGATIVE_INFINITY,e=0;e<b.length;e++)d=Math.max(d,Ef(b[e],c,Number.NEGATIVE_INFINITY));return d},min:function(a,b){for(var c=a[0]||Gf,d=Number.POSITIVE_INFINITY,e=0;e<b.length;e++)d=Math.min(d,Ef(b[e],c,Number.POSITIVE_INFINITY));return d},count:function(a,b){return b.length}},Kf={now:function(){return+new Date}};
function Lf(a,b){if(b.hasOwnProperty("value"))return b.value;if(b.hasOwnProperty("field"))return Ef(a,b.field);if(b.hasOwnProperty("eval")){if(!(b.eval in Kf)){y("Rules","Unknown function: "+b.eval);return}return Kf[b.eval]()}if(b.op){var c=b.op in Hf?Hf[b.op]:b.op in If?If[b.op]:l;if(c){var d=q(Lf,a),e=Xa(b.args||[],function(a){return d(a)});return c(e,a)}y("Rules","Unknown operator: "+b.op)}else y("Rules","No operator specified: "+t(b))}
function Mf(a){function b(a,e){J(a)&&("and"!==a[0]&&("or"!==a[0]&&"not"!==a[0])&&y("Rules","Unexpected operation "+a[0]+". Continuing optimistically."),a={op:a[0],args:a.slice(1)});if(a.hasOwnProperty("field")||a.hasOwnProperty("value")||a.hasOwnProperty("eval"))return a;if(e&&a.op in Jf){var f="_"+a.op+"_"+((a.args&&a.args[0]||{}).field||Gf).join(".");f in d||(c.push({op:a.op,args:a.args}),d[f]=k);return{field:[f]}}for(var f=[],g=a.args||[],u=0;u<g.length;u++)f[u]=b(g[u],e);return{op:a.op,args:f}}
var c=[],d={},e={};a.hasOwnProperty("where")&&(e.where=b(a.where,o));a.hasOwnProperty("having")&&(e.having=b(a.having,k));if(a.hasOwnProperty("aggregate")||0<c.length)e.aggregate=(a.aggregate||[]).concat(c);for(var f=["groupBy","orderBy","select","limit"],g=0;g<f.length;g++)a.hasOwnProperty(f[g])&&(e[f[g]]=a[f[g]]);a.hasOwnProperty("from")&&(e.from=Mf(a.from));return e}
function Nf(a,b){var b=b||0,c=[];a.hasOwnProperty("where")?a.where.op?a.where.op in Hf||c.push("Non-boolean WHERE clause operator"):c.push("Missing WHERE clause operator"):c.push("Missing WHERE clause");a.hasOwnProperty("having")&&(a.having.op?a.having.op in Hf||c.push("Non-boolean HAVING clause operator"):c.push("Missing HAVING clause operator"));a.hasOwnProperty("groupBy")&&!a.hasOwnProperty("aggregate")&&c.push("No AGGREGATE clause specified with GROUP_BY clause");if(a.hasOwnProperty("select")){var d=
a.select;if(J(d))for(var e=0;e<d.length;e++)d[e].op&&d[e].op in Jf&&c.push('In SELECT clause, aggregate operator "'+d[e].op+'" specified in selector at index '+e);else c.push("SELECT clause must be an array")}a.hasOwnProperty("limit")&&(d=a.limit,(!$a(d)||0>=Number(d)||Number(d)!=Math.floor(Number(d)))&&c.push("LIMIT must be a positive integer"));0<b&&(c=Xa(c,function(a){return"Sub-rule "+b+": "+a}));a.hasOwnProperty("from")&&(c=c.concat(Nf(a.from,b+1)));return c}
function Of(a,b){var c=b;a.hasOwnProperty("from")&&(c=Of(a.from,c));c=Za(c,function(b){return Lf(b,a.where)});if(a.hasOwnProperty("aggregate")){var d=a.groupBy;if("undefined"===typeof d||!J(d)||0===d.length){var d={},e={};e[Gf]="_";d[Gf+"=_"]={ca:e,e:c};c=d}else{for(var d=Xa(d,function(a){return a.field}),e={},f=0;f<c.length;f++){for(var g=c[f],h=[],m={},r=0;r<d.length;r++){var n=d[r],u=Ef(g,n,"_"),n=n.join(".");m[n]=u;h.push(encodeURIComponent(n)+"="+encodeURIComponent(u.toString()))}h=h.join("&");
e.hasOwnProperty(h)||(e[h]={ca:m,e:[]});e[h].e.push(g)}c=e}var w=a.aggregate,z={};x(c,function(a,b){z[a]={};for(var c=0;c<w.length;c++){var d=w[c],e=d.op;if(e in Jf){var f=(d.args&&d.args[0]||{}).field||Gf,d="_"+e+"_"+f.join("."),e=Jf[e]([f],b.e);z[a][d]=e}else y("Rules","Unknown aggregate operator "+e)}});var D=[];x(c,function(a,b){var c=L({},b.ca);L(c,z[a]||{});D.push(c)});c=D}a.hasOwnProperty("having")&&(c=Za(c,function(b){return Lf(b,a.having)}));if(a.hasOwnProperty("orderBy")){var I=a.orderBy;
J(I)?c=0==I.length?c:c.sort(function(a,b){for(var c=0;c<I.length;c++){var d=I[c],e="ASC"===(d.direction||"ASC")?1:-1,f=d.field,d=Ef(a,f,0),f=Ef(b,f,0);if(d<f)return-e;if(d>f)return e}return 0}):y("Rules","groupBy rule must be an array")}a.hasOwnProperty("limit")&&(c=c.slice(0,Number(a.limit)));if(a.hasOwnProperty("select"))var G=a.select,c=Xa(c,function(a){return Xa(G,function(b){return Lf(a,b)})});return c};function Pf(){this.g={};this.k={};this.v={};this.sa={}}Pf.prototype.Wa=function(a){var b=this.v.hasOwnProperty(a)||this.sa.hasOwnProperty(a);if(!this.g.hasOwnProperty(a)||!b)try{var c=this.g,d=rb(a);d||i(Error("Unable to find audience for id: "+a));var e=Qf(this,d.conditions);N("Visitor","Checking if in audience "+a+": "+e);c[a]=e}catch(f){N("Visitor","Error: "+f.message)}return this.g[a]};
function Rf(a,b,c,d){d=L({L:k,ra:k,z:k},d);if(rb(b)){a.g[b]=c;var e=sb(b);e?a.sa[b]=c:d.L?a.v[b]=c:delete a.v[b];e&&d.z&&a.z(e,c);if(!e&&d.L&&d.ra){var f=[];x(a.v,p(function(a){this.g[a]&&f.push(a)},a));f.sort();A("optimizelyAudiences",f.join(","),31536E4)}}else N("Visitor","Unable to find audience "+b)}Pf.prototype.B=function(a){Rf(this,a,k)};Pf.prototype.W=function(a){Rf(this,a,o)};Pf.prototype.Za=function(){x(this.g,p(function(a){Rf(this,a,o,{L:!!this.v.hasOwnProperty(a)})},this))};
function Sf(a,b,c,d){d=!K(d)||d;K(c)&&c!==l&&String(c)?(d&&(c=yf(String(c),o)),a.k[b]=c):delete a.k[b];return a.k[b]}Pf.prototype.N=function(a,b,c){var d;a:{for(d in C("dimensions")||{}){var e=a,f=wb(d,"api_name");if(e===(!f?l:f))break a}d=l}d=d||a;C("dimensions",d)?"custom_dimension"===xb(d)?(b=Sf(this,d,b,c),a=wb(d,"segment_id"),(a=!a?l:a)&&this.z(a,b),N("Visitor",'Set dimension "'+d+'" to "'+b+'"')):N("Visitor",'Unknown dimension "'+d+'"'):N("Visitor","Unable to find dimension "+a)};
Pf.prototype.z=function(a,b){b?Cd(a,b):Pd(a)};var tf=new Pf;function Tf(a){var b=a.split(":");2!==b.length&&i(Error("optly.timeAndDayInterval.timeStringToMinutes: Invalid time string "+a));return 60*parseInt(b[0],10)+parseInt(b[1],10)};function cd(a,b){var c=!!b.manualActivation,d=b.objectType?b.objectType:"experiment",e="experiment"===d,f=b.enabledStatus,g=b.visitor||tf;N("Condition","Testing "+d+" "+a);var f=e&&(K(f)?!!f:Cb(a)),h=e&&Hb(a),m;a:switch(d){case "experiment":m=P(a,"conditions");break a;case "segment":m=$b(a,"add_condition");break a;default:m=[]}if(e&&!f)return N("Condition","Failed for "+d+" "+a+" (paused)"),o;if(e&&!c&&h)return N("Condition"," Failed for "+d+" "+a+" (manual activation mode)"),o;if(m){var r="experiment"===
(d||"experiment"),n=k;x(m,function(b){var c=b.type;if(r&&b.only_first_time&&Uf(a))N("Condition",c+" condition passed because it only gets checked when bucketing",k);else{var d=!b.not,b=(0,Vf[c])(b),e=b!==d;N("Condition","Found that "+("the visitor "+(b?"passed":"failed")+" a "+c+" targeting condition  when it needed to "+(d?"pass":"fail")),!e);if(e)return n=o}});if(!n)return N("Condition","Failed for "+d+" "+a+" (condition failed)"),o}else{a:{c=[];e=[];if("experiment"===d)c=P(a,"audiences")||[],e=
P(a,"urls")||[];else if("segment"===d)(f=$b(a,"audience_id"))&&(c=[f]);else{N("Condition","Not a valid objectType: "+d);d=o;break a}if(0<c.length&&(N("Condition","Testing audiences for "+d+" "+a+": "+c),!F(c,p(g.Wa,g)))){N("Condition","Failed to match any audiences for "+d+" "+a);d=o;break a}if(0<e.length){N("Condition","Testing URLs for "+d+" "+a);var g=e,u=Z.H(),w=[],z=[];x(g,function(a){a.negate?z.push(a):w.push(a)});g=function(a){return F(a,function(a){return Wf(u,a)})};if(g(z)||!(0===w.length||
g(w))){N("Condition","Failed to match any URL for "+d+" "+a);d=o;break a}}d=k}if(!d)return o}return k}function Xf(a,b){if(!b)return 0;for(var c=b.toString().split("."),d=a.toString().split("."),e=0;e<c.length;e++)if(K(d[e])){if(Number(d[e])<Number(c[e]))return-1;if(Number(d[e])>Number(c[e]))return 1}else return-1;return 0}function Yf(a,b){var c=b.value,d=a.id,e=a.version,f=a.mobileId;return f&&"unknown"!==f?(N("Condition",f,k),"mobile"===c||c===f):0===c.indexOf(d)?0===Xf(e,c.substr(d.length)):o}
function ff(a,b){var c=b.value;if(c===j)return k;try{return Boolean(eval(c))}catch(d){return o}}function Zf(a,b){return $f(b.value,b.match,a)}function ag(a,b){return $f(b.value,b.match,a)}
function bg(a,b){if(a===l)return o;var c=b.value;switch(b.match){case "exact":if(a==c&&""!=a)return k;break;case "prefix":if(0==a.indexOf(c))return k;break;case "regex":try{var d=RegExp(c)}catch(e){break}if(d.test(a))return k;break;case "cidr":try{var f;a:{var g=new cg(c),h=dg(a);h===l&&i(Error("Invalid ip: "+a));for(c=0;4>c;c++)if((h[c]&g.U[c])!==g.V[c]){f=o;break a}f=k}return f}catch(m){}}return o}function eg(a,b){var c=b.value;return"any"===c||0===a.indexOf(c)}
function fg(a,b){if(a===l)return o;var c=b.value.split("|"),d=$.trim(c[0]),e=$.trim(c[1]),f=$.trim(c[2]),g=$.trim(c[3]);switch(c.length){case 1:if(a.country===d)return k;break;case 2:if(a.region===e&&a.country===d)return k;break;case 3:if(a.city===f&&(a.region===e||""===e)&&a.country===d)return k;break;case 4:if(a.continent===g)return k}return o}function gg(a,b){return $f(b.value,b.match,a)}
function hg(a,b){var c=b.value,d=b.match;N("Condition","Testing referrer "+a+" against  "+c+" ("+d+")",k);return ig(a,c,d)}function jg(a){return!!a}function kg(a){var b=Z.H();return F(a.values,q(Wf,b))}function Wf(a,b){var c=b.value,d=b.match;N("Condition","Testing URL "+a+" against  "+c+" ("+d+")",k);return ig(a,c,d)}function lg(a,b){switch(b.value){case "new":if("returning"===a)return o;break;case "returning":return"returning"===a}return k}
function Qf(a,b){var c={and:function(b){return Ua(b,q(Qf,a))},or:function(b){return F(b,q(Qf,a))},not:function(b){1!==b.length&&i(Error('"not" argument too long: '+t(b)));return!Qf(a,b[0])}};if(J(b)){if(b[0]in c)return c[b[0]](b.slice(1));i(Error("Not an operator"))}var c=b.dimension_id,d=xb(c),e=b.value;d||i(Error("No dimension type for dimension: "+c));var f=mg[d];f||i(Error("Unknown dimension type: "+d));d=j;if(a.k.hasOwnProperty(c))d=a.k[c];else try{var g=xb(c)||"",h,m;C("dimensions",c)||i(Error("Unable to find dimension for id: "+
c));"custom_dimension"===g&&i(Error("calculateDimensionValue called on custom dimension "+c));(h={browser:p(Z.m,Z),browser_version:p(Z.m,Z),behavior:p(Z.Ea,Z),campaign:q(Bf,"campaign"),cookies:p(Z.G,Z),custom_tag:p(Z.ea,Z),device:p(Z.I,Z),event:p(Z.ua,Z),first_session:p(Z.La,Z),has_ppid:p(Z.Sa,Z),ip:p(Z.S,Z),language:p(Z.R,Z),list:p(Z.fa,Z),location:p(Z.J,Z),query:p(Z.b,Z),platform:p(Z.ja,Z),referrer:p(Z.T,Z),segment:p(Z.Ta,Z),source_type:q(Bf,"source_type"),third_party_dimension:p(Z.Qa,Z),time_and_day:p(Z.getDate,
Z),url:p(Z.H,Z),visitor:p(Z.ha,Z),dynamic_customer_profile:p(Z.ga,Z)}[g])&&(m=h(yb(c)));N("Visitor","Got dimension ("+g+") value "+c+": "+t(m));d=m}catch(r){N("Visitor","Error: "+r.message)}return f(d,{value:e,match:b.match||"exact"})}
function bd(a){var b=k;!P(a,"conditions")&&!$b(a,"add_condition")?(b=[$b(a,"audience_id")],b[0]||(b=P(a,"audiences")||[]),b=Ua(b,function(a){a=rb(a);return!a.conditions?k:ng(a.conditions)})):(P(a,"uses_geotargeting")||$b(a,"uses_geotargeting"))&&(b=og.ip(l)||og.location(l));b||N("Condition","Not ready to test (geotargeting): "+a);return b}function ng(a){if(J(a))return Ua(a.slice(1),ng);var b=xb(a.dimension_id)||"";return(b=og[b])?b(a):k}
var Vf={browser:function(a){var b=Z.m();return F(a.values,function(a){return Yf(b,{value:a})})},code:function(a){return ff(0,a)},cookies:function(a){for(var b=a.names||[],a=a.values||[],c,d=0;d<b.length;d++)if(c=b[d],Zf(Z.G(c),{value:a[d]||j}))return k;return o},custom_tag:function(a){return F(a.values,function(a){return ag(Z.ea(a.key),{value:a.value})})},event:function(a){return F(a.values,function(a){return Z.ua(a)})},ip:function(a){var b=Z.S();return F(a.values,q(bg,b))},language:function(a){var b=
Z.R();return F(a.values,function(a){return eg(b,{value:a})})},location:function(a){var b=Z.J();return F(a.values,function(a){return fg(b,{value:a})})},query:function(a){return 0===a.values.length?k:F(a.values,function(a){return gg(Z.b(a.key),{value:a.value})})},referrer:function(a){return F(a.values,q(hg,Z.Ja()))},segment:function(a){var b=Z.ka();return F(a.values,function(a){return jg(ra(a,b))})},url:kg,visitor:function(a){var b=Z.ha();return lg(b,a)}},mg={browser:Yf,browser_version:function(a,b){var c=
b.value,d=a.id,e=a.version;return 0===c.indexOf(d)?0===Xf(e,c.substr(d.length)):o},behavior:function(a,b){try{var c;var d=ea(b.value);try{var e;e=Mf(d);var f=Nf(e);0<f.length&&i(Error("Rule "+t(e)+" has violations: "+f.join("\n")));c=0<Of(e,a).length}catch(g){y("Rules","Error "+g.toString()+" while evaluating rule "+d.toString()),c=o}return c}catch(h){}return o},campaign:function(a,b){"none"===a&&(a=l);return $f(b.value,b.match,a)},code:ff,cookies:Zf,custom_dimension:function(a,b){var c=b.value;return!K(c)?
K(a):c==a},custom_tag:ag,device:function(a,b){var c=b.value;return"unknown"!==a.id?a.id===c:"tablet"===c?"tablet"===a.type:"mobile"===c?a.u&&"tablet"!==a.type:"desktop"===c?!a.u:o},event:aa(),first_session:aa(),ip:bg,language:eg,list:function(a,b){if(a===l||!K(a))return o;var c=b.value;return!K(c)?""===a||a!==o:a.toString()===c},location:fg,query:gg,platform:function(a,b){var c=b.value.split("_"),d=c[0],c=c.slice(1);return d===a.id?0===c.length?k:1<c.length?0<=Xf(a.version,c[0])&&0>=Xf(a.version,
c[1]):0===Xf(a.version,c[0]):o},referrer:hg,segment:jg,source_type:function(a,b){return b.value===a},time_and_day:function(a,b){var c,d,e;c=b.value;e=c.split("_");3!==e.length&&i(Error("Invalid time and day string "+c));c=e[0];d=e[1];e=e[2].split(",");c=Tf(c);d=Tf(d);var f=60*a.getHours()+a.getMinutes(),g="sunday monday tuesday wednesday thursday friday saturday".split(" ")[a.getDay()];return f>=c&&f<=d&&-1!==$.inArray(g,e)},third_party_dimension:function(a,b){return J(a)?F(a,q($f,b.value,b.match)):
$f(b.value,b.match,a)},url:Wf,visitor:lg,dynamic_customer_profile:function(a,b){return a===l?o:H(a,b.value)},has_ppid:aa()},og={ip:function(){V("checkGeo");return Z.S()!==l},location:function(){V("checkGeo");return Z.J()!==l},list:function(a){return Z.fa(yb(a.dimension_id)||"")!==l},dynamic_customer_profile:function(){return Z.ga()!==l}};
function $f(a,b,c){var d=K(c)&&c!==l,e=K(a)&&a!==l;switch(b||(e?"exact":"exists")){case "exists":return d;case "exact":return d&&String(c)===a;case "substring":return d&&-1!==String(c).indexOf(a);case "regex":try{return e&&d?Boolean(String(c).match(RegExp(a))):o}catch(f){return o}case "range":return a=a.split(":"),b=parseFloat(a[1]),c=parseFloat(c),c>=parseFloat(a[0])&&c<=b;default:return o}};function pg(a,b){var c;c=$.trim(b);var d="";if(window.optimizely&&window.optimizely.data)if(d=c.match(qg))d=window.optimizely.data.visitor.params[d[1]],d===j&&(d="");else{for(var d=c.split("."),e=window.optimizely,f=0,g=d.length;f<g;f++)if(e=e[d[f]],e===j||e===l){e="";break}d=""+e}N("Template",c+" evaluated to: '"+d+"'");return d}var rg=/\{\{ *optimizely\.([^\n\r{}<>]*)\}\}/g,qg=/^data\.visitor\.params\.(.*)$/;function Id(a,b,c){var d;d=o===k;var c=c===k,e=o,f=R(a);if(f&&(c||!Uf(f))){e=k;if(c&&Uf(f))for(c=0;c<X.length;c++)X[c].F===f&&X.splice(c,1);X.push({F:f,id:a,source:b});d&&(U=U||[],U.push(f));Ed[f]=k;Fd();N("Plan","Added experiment "+f+" and variation id "+a+" to the plan, source is "+b,k)}return e}function Uf(a){return a in Dd||a in Ed}function Oc(a){var b=[],c=!K(a),a=a||[];x(X,function(d){(c||H(a,d.F))&&b.push(d.id)});return b}function af(a){var b;if(b===k||!Uf(a))Dd[a]=k,Fd()}
function gd(){var a={};x(ie,function(b,c){a[b]=c});x(X,function(b){var c=R(b.id);a[c]=b.id});x(Dd,function(b){a[b]="0"});x(C("blacklisted_experiments")||{},function(b){b in a&&delete a[b]});A("optimizelyBuckets",t(a),Ra)}function Fd(){x(sg,function(a){a()})}
function tg(a,b,c,d){if(-1!==a.indexOf("_optimizely_redirect"))b.push({code:a,type:"code forced (redirect)",P:d});else{for(var a=a.split("\n"),e=o,f=o,g=[],h=[];0<a.length;){var m=bb(a.shift()),r=0<h.length;if(m)if(Boolean(m.match(/_optimizely_evaluate\s{0,9}=\s{0,9}force/i)))f=k;else if(Boolean(m.match(/_optimizely_evaluate\s{0,9}=\s{0,9}safe/i))||Boolean(m.match(/_optimizely_evaluate\s{0,9}=\s{0,9}end_force/i)))f=o;else if(Boolean(m.match(/_optimizely_evaluate\s{0,9}=\s{0,9}editor_only/i)))e=k;
else if(Boolean(m.match(/_optimizely_evaluate\s{0,9}=\s{0,9}end_editor_only/i)))e=o;else if(!ug.exec(m)&&!e)if(f)g.push(m);else{if(!r){var n=vg.exec(m),u=[];n?(u.push(n[1].replace(/^['"]|['"]$/g,"")),(n=wg.exec(m))&&4<n.length&&u.push(n[4]),c.push({code:m,f:u,type:"safe jquery",A:k,P:d})):r=k}r&&h.push(m)}}0<g.length&&b.push({code:g.join("\n"),type:"forced evaluation",P:d});0<h.length&&c.push({code:h.join("\n"),type:"safe non-jquery",cb:k,P:d})}}
function xg(a,b,c){for(var d={values:[]},e=0,f=a.length;e<f;e++)d.values.push({value:a[e],match:b[e]||c});return d}var sg=[],ie={},Dd={},wg=/^\$j?\(['"](.+?)['"]\)\.detach\(\)\.(appendTo|insertAfter|insertBefore|prependTo)\(['"](.+?)['"]\);(?:\s|(?:\/\/.*|\/\*(?:[^*]|\*(?!\/))*\*\/))*$/,ug=/^(?:\s|(?:\/\/.*|\/\*(?:[^*]|\*(?!\/))*\*\/))*$/,vg=/^\$j?\((['"].+?['"]|document)\)\..+;(?:\s|(?:\/\/.*|\/\*(?:[^*]|\*(?!\/))*\*\/))*$/,Ed={},X=[];function yg(a){uf={};sf(a)};function zg(a,b){if(a&&b)if(Ag)N("Evaluator","Bound event "+b+" to selector "+a),Bg(a,b);else{var c={l:b,f:a,type:"event '"+b+"' (click goal)",A:k};N("Evaluator","Add step to bind event "+c.l+" to selector "+c.f);Cg.push(c)}}
function fd(a,b){if(E){J(a)?Dg(a):(a=[],Dg(b));a=a.concat(U);U=[];for(var c=0;c<a.length;c++)H(Nc,a[c])||Nc.push(a[c]);c=a;c===j?c=[]:$a(c)&&(c=[c]);for(var d=Oc(c),e=[],f=[],g=[],h=[],m=Za(tb(),function(a){return a.experiments?o:kg(a.url_conditions||[])}),r=0,n=m.length;r<n;r++){var u={l:m[r].event_name,f:m[r].selector,type:"event '"+m[r].event_name+"' (click goal)",A:k};"revenue"in m[r]&&(u.revenue=m[r].revenue);e.push(u)}x(c,function(a){var b={},c=P(a,"events")||{};x(c,function(a,c){b[a]=[c]});
var c=Za(tb(),function(b){return"experiments"in b?a in b.experiments:o}),d=0;for(;d<c.length;d++){var n=c[d];b[n.selector]||(b[n.selector]=[]);b[n.selector].push({eventName:n.event_name,revenue:n.revenue,experimentIds:n.experiments})}x(b,function(b,c){x(c,function(c){e.push({l:c.eventName,p:c.experimentIds,j:c.revenue,f:b,type:"event '"+c.eventName+"' (experiment "+a+")",A:k})})});c=P(a,"css")||"";d=P(a,"code")||"";c&&g.push({code:'$("body").append("<style>'+c.replace(/([\f\n\r\t\\'"])/g,"\\$1")+
'</style>");',f:"body",type:"global css (experiment "+a+")",A:k});d&&tg(d,f,h)});x(d,function(a){for(var b=Qb(a),b=b.split("\n"),c=[],d=k,e=0,g=b.length;e<g;e++){var n=$.trim(b[e]);if(n==="/* _optimizely_variation_url_end */")d=k;else if(n!==""){var m=Da.exec(n);if(m&&m.length===13){var r=m[2]?m[2].split(" "):[],n=m[4]?m[4].split(" "):[],u=m[6]?m[6]:"substring",De=m[8]?m[8].split(" "):[],m=m[10]?m[10].split(" "):[];if(r.length>0){d=xg(r,De,u);d=kg(d)}if(d&&n.length>0){d=xg(n,m,u);d=!kg(d)}}else d&&
c.push(n)}}b=c.join("\n");tg(b,f,h,a)});c=[];c.push.apply(c,f);c.push.apply(c,g);c.push.apply(c,h);c.push.apply(c,e);Cg.push.apply(Cg,c);Eg()}}
function Eg(){var a=o;Fg=l;for(N("Evaluator",Gg+" times waited");!a&&0<Cg.length;){N("Evaluator",Cg.length+" steps remaining");var b=Cg.shift(),c=b,a=o;if(c.cb&&!Ag)N("Evaluator","Document not ready yet"),a=k;else if(c.A&&!Ag&&(c=c.f))for(var c=J(c)?c:[c],d=0;d<c.length;d++){var e=c[d];if(!(e===l||e===j||!e.length))if(0===("document"==e?$(document):$(e)).length)N("Evaluator","'"+e+"' not found"),a=k}a?Cg.unshift(b):b.l?(Hg(),N("Evaluator","Bound event "+b.l+" to selector "+b.f),c={},b.j&&(c={j:b.j,
p:b.p}),Bg(b.f,b.l,c)):b.code&&(N("Evaluator","Run code: "+b.code),Ig(b.code,b.P))}a?(Fg=setTimeout(Eg,0===Gg?10:50),Gg++):(N("Evaluator",Gg+" total times waited"),Hg())}function Hg(){V("flash");0<$c.length||V("flashGeo")}
function Ig(a,b){a=a.replace(rg,pg);if(Qc(a))if(N("Evaluator","Redirect detected"),nf(a)){N("Evaluator","OK to redirect");var c=mf(a);N("Evaluator","setting a redirect cookie"+(b?" for variation: "+b:""));A("optimizelyRedirect",(b||"unknown variation")+"|"+(c?"true":"false"),5);of()}else{N("Evaluator","NOT OK to redirect");return}eval("var $j = $;");try{if(Qc(a)){$("head").append("<style type='text/css'>body{display:none;visibility:hidden;}</style>");N("Evaluator","Hiding body before redirect");var d=
qf.test(a)||pf.test(a)||rf.test(a),e=/_keep_body_hidden=(\S+)/.test(a);d||e?N("Evaluator","Standard redirect detected - Will not unhide body."):setTimeout(function(){document.body&&(document.body.style.visibility="visible",document.body.style.display="block",N("Evaluator","Unhiding body -- did not redirect"),V("bodyUnhidden"))},1700)}eval(a)}catch(f){c=Na,Na=k,N("Evaluator","Error: "+f.message),N("Evaluator","Code: "+a),Na=c,N("Evaluator","Failed to run code: "+f.message)}}
function Bg(a,b,c){c=c||{};if(!Jg[a]||!Jg[a][b]){var d=function(){hd(b,"custom",c)},e=$(a);if(0<e.length){var f=function(){e.unbind("touchend",d);e.unbind("touchmove",f);e.unbind("mousedown",d)},g=function(){f();e.bind("touchmove",f);e.bind("touchend",d)};e.bind("mousedown",d);e.bind("touchstart",g)}else e=$("html"),f=function(){e.undelegate(a,"touchend",d);e.undelegate(a,"touchmove",f);e.undelegate(a,"mousedown",d)},e.delegate(a,"touchstart",function(){f();e.delegate(a,"touchend",d);e.delegate(a,
"touchmove",f)}),e.delegate(a,"mousedown",d);Jg[a]||(Jg[a]={});Jg[a][b]="mousedown touchstart"}}function Kg(a){Lg=a}function Dg(a){a||(a=Bb());for(var b=0;b<a.length;b++)Q(a[b])}var Jg={},Nc=[],U=U||[],Lg=0,Ag=o,Cg=[],Fg=l,Gg=0;$(function(){setTimeout(function(){V("docReady");Ag=k;Fg!==l&&(N("Evaluator","Document is ready"),clearTimeout(Fg),0<Lg?setTimeout(Eg,Lg):Eg())},50)});function cg(a){this.za=$.trim(a);a=Mg(this.za);a===l&&i(Error("Invalid CIDR specification"));this.V=a.V;this.U=a.U}function Mg(a){a=a.split("/");if(2!=a.length)return l;var b=parseInt(a[1],10);if(isNaN(b)||0>b||32<b)return l;a=dg(a[0]);if(a===l)return l;if(0>b||32<b)b=l;else{for(var c=[],d=0;4>d;d++)c[d]=0;for(var e=Math.floor(b/8),d=0;d<e;d++)c[d]=255;4>e&&(c[e]=Ng[b%8]);b=c}for(c=0;4>c;c++)a[c]&=b[c];return{V:a,U:b}}
function dg(a){a=a.split(".");if(4!=a.length)return l;for(var b=[],c=0;4>c;c++){var d;d=a[c];if(3<d.length)d=l;else{var e=parseInt(d,10);d=isNaN(e)||d!==e.toString()||0>e||255<e?l:e}if(d===l)return l;b[c]=d}return b}var Ng=[0,128,192,224,240,248,252,254,255];function ig(a,b,c){var d=a.split("?");if(d[1]){var e=[];$.each(d[1].split("&"),function(){0!==this.indexOf(Og)&&e.push(this)});d[1]=e.join("&");a=d.join("?")}switch(c){case "exact":return a=Pg(a),a===Pg(b);case "regex":try{return Boolean(a.match(b))}catch(f){return o}case "simple":return a=Pg(Qg(a)),b=Pg(Qg(b)),a===b;case "substring":return a=Pg(a,k),b=Pg(b,k),-1!==a.indexOf(b);default:return o}}
function Qg(a){var b=a.indexOf("?");-1!==b&&(a=a.substring(0,b));b=a.indexOf("#");-1!==b&&(a=a.substring(0,b));return a}function Pg(a,b){var a=a.replace("/?","?"),a=a.toLowerCase().replace(/[/&?]+$/,""),c=Rg.slice(0);b||(c=c.concat(Sg));for(var d=c.length,e=0;e<d;e++)a=a.replace(RegExp("^"+c[e]),"");return a}
var Rg=["https?://.*?.?optimizelyedit.(com|test)/","https?://.*.?optimizelypreview.(com|test)/","https?://(edit|preview)(-hrd|-devel)?.optimizely.(com|test)/","https?://.*?.?optimizelyedit(-hrd)?.appspot.com/","https?://"],Sg=["www."],Og="optimizely_";function Tg(a){return function(b){if("object"===typeof b&&Yg()){var c=l,d;for(d in b)b.hasOwnProperty(d)&&(c=a.call(this,d,b[d]));return c}return a.apply(this,arguments)}}function Yg(){for(var a in{})return k;return o};function Zg(){if(!Ca){var a=$;a.fn.attr=Tg(a.fn.attr);a.fn.css=Tg(a.fn.css);a.fn.extend=Tg(a.fn.extend);var b=a.each;a.each=function(c,d,e){if(!(c.length===j||a.isFunction(c))||!Yg())b.apply(this,arguments);else if(e)for(var f in c){if(c.hasOwnProperty(f)&&d.apply(c[f],e)===o)break}else for(f in c)if(c.hasOwnProperty(f)&&!d.call(c[f],f,c[f])===o)break;return c};var c=a.fn.Va,d=function(a,b,d){return new c(a,b,d)},e,f=document.getElementsByClassName;if(!lf(f))var f=(window.optimizely||{}).getElementsByClassName,
g=(window.optly||{}).getElementsByClassName,f=lf(f)?f:lf(g)?g:l;e=f;a.fn.Va=function(b,c,f){var g=d,h=document.getElementsByClassName;!lf(h)&&e&&(g=function(a,b,c){document.getElementsByClassName=e;a=d(a,b,c);document.getElementsByClassName=h;return a});if(!("string"===typeof b&&c&&"object"===a.type(c)&&Yg()))return g(b,c,f);b=g(b,j,f);b.attr(c);return b}}N("Main","Started, revision "+C("revision"));var f=jf(),g=o,h;for(h in f)if(kf.exec(h)){g=k;break}("true"===f.opt_out||"false"===f.opt_out)&&xe("true"===
f.opt_out);Ga="true"===f.force_tracking;if("true"===f.disable||"true"===f.opt_out||"true"===v("optimizelyOptOut"))E=o;Ha="true"===f.editor;Ia="true"===f.p13n;Ma="true"===f.show_preview;h=f.token;/^[0-9a-f]{64}$/.test(h)?Ka=h:/^[0-9a-f]{32}$/.test(h)?(N("Query","Using legacy MD5 token"),Ka=h):N("Query","Blocked request to load unsafe script: "+h);Na="true"===f.log;Oa="true"===f.verbose;B=!(Ma||g)||Ga;"false"===f.client&&(E=o,Ea="js/"+Nb()+".js");if(Ia)N("Main","Disabling because personalization editor flag is set."),
ab("https://"+Vb()+"/js/innie.js?_="+ +new Date);else{h=window.optimizely;if(E&&J(h)){var m={disable:Jd,setCookieDomain:Ba,setCookieExpiration:ee,verifyPreviewProject:function(a){Nb()!==a&&N("API","Preview projectId ("+Nb()+") does not match expected ("+a+"), disabling.")}};x(h,function(a){Md(m,a,k)})}if(E&&(h=C("project_js")))N("Evaluator","Running project level javascript."),Ig(h);if(Ka){if(!window.optimizelyPreview){if(!window.optimizely||!window.optimizely.unshift)window.optimizely=[];window.optimizely.unshift(["verifyPreviewProject",
Nb()]);ab([hf,"/js/preview/",Ka,".js"].join(""),k);Ma&&gf('Loading Preview<br /><img alt="loading" src="//'+Vb()+'/static/img/loading-32.gif" style="padding-top:20px; width: 32px; margin: 0 auto;" />')}}else if(Ma&&!Ka)gf("This preview link has expired. Please return to Optimizely and preview again to get a new link.");else{(h=O.get("asyncInfo"))&&x(h,ic);h=Vd();f=Wd();"ie"===h&&("unknown"!==f&&8>Number(f))&&(E=o);if(E){h=v("optimizelyEndUserId");Je=h!==j&&h!==l;a:{h="googlebot;yahoo! slurp;bingbot;bingpreview;msnbot;keynote;ktxn;khte;gomezagent;alertsite;yottaamonitor;pingdom.com_bot;aihitbot;baiduspider;adsbot-google;mediapartners-google".split(";");
f=navigator.userAgent;f=f.toLowerCase();for(g=0;g<h.length;g++)if(-1!==f.indexOf(h[g])){h=k;break a}h=o}h?B=o:Je||fb.set("first_session",k)}if(C("uses_list_targeting")){h="https://odds.optimizely.com/js/geo2.js";var r={};x(Mb(),function(a,b){var c=mc(b);c!==l&&typeof c!=="undefined"&&(r[b]=c)});r.project=Nb().toString();var f=[],n;for(n in r)r.hasOwnProperty(n)&&f.push(encodeURIComponent(n)+"="+encodeURIComponent(r[n]));f.length&&(h+="?"+f.join("&"));ab(h)}if(C("uses_dynamic_customer_profile_targeting")){b:{n=
vb();for(h=0;h<n.length;h++)if(f=n[h],f.is_optimizely){n=f.dcp_datasource_id||l;break b}n=l}n===l?(y("DCP","No Optimizely datasource found in data."),n=l):(n=Xa([Nb().toString(),n,pc()],encodeURIComponent),n=["https://vis.optimizely.com/api/targetingEmbed"].concat(n).join("/"));n!==l&&ab(n)}(C("dcp_service_id")||l)!==l&&setTimeout(function(){var a,b=C("dcp_service_id")||l;if(b!==l){a=vb();for(var c=l,d=[],e=0;e<a.length;e++){var f=a[e],g=f.dcp_datasource_id||l,h=f.is_optimizely||o,n=f.type,f=f.name||
"";if(g===l)y("DCP","No DCP datasource id specified");else{var m=l;if(n==="cookie")m=Z.G(f);else if(n==="js_variable")try{m=window[f]}catch(r){m=l}else n==="query_param"?m=Z.b(f):n==="uid"&&(m=pc());if($a(m)||typeof m==="string"){g={datasourceId:g,id:m};h?c=g:d.push(g)}}}if(a=c)if(d.length===0)y("DCP","Must specify at least one non-Optimizely datasource to alias");else{var u=Xa([b,a.datasourceId,a.id],encodeURIComponent).join("/"),w=He("dcpAlias")||{},b=w||{},z=b[u];if(!K(z)?0:Ua(d,function(a){return z[a.datasourceId]===
a.id}))y("DCP","Duplicate alias request; skipping.");else try{var pa=new XMLHttpRequest;pa.open("POST",["https://vis.optimizely.com/api/alias",u].join("/"));if("withCredentials"in pa)pa.withCredentials=k;pa.setRequestHeader("Content-Type","application/json;charset=UTF-8");var D={};x(d,function(a){D[a.datasourceId]=a.id});pa.onerror=function(){y("DCP","Failed to POST alias request")};pa.onload=function(){if(pa.status===200){var a=w[u]=w[u]||{};x(d,function(b){a[b.datasourceId]=b.id});O.set([Ta()||
Sa(),"dcpAlias"].join("$$"),w)}else y("DCP","Alias POST failed with",pa.statusText)};pa.send(t({data:D}))}catch(tc){y("DCP","Exception %s trying to POST alias request",tc)}}else y("DCP","Must specify Optimizely datasource in alias")}},0);if(n=v("optimizelyBuckets")){try{n=ea(n)}catch(u){n={}}var w={};x(n,function(a,b){var b=String(b),c=R(b);if(Kb(c).length>1&&b.indexOf("_")===-1){w[c]=w[c]||{};w[c][a]=b}else b!=="0"?Id(b,"cookie")||(ie[a]=b):af(a)});x(w,function(a,b){var c;a:{c=[];for(var d=Kb(a),
e=0;e<d.length;e++){var f=b[d[e]];if(f==="0"){c="";break a}c.push(f)}c=c.join("_")}c.length>0?Id(c,"cookie"):af(a)})}sf();Pc=(v("optimizelyRedirect")||"|").split("|")[0];n=v("optimizelyReferrer");n!==l&&(vc=0==n.length?"":n,A("optimizelyReferrer",""));n=tf;N("Visitor","Initializing");(h=v("optimizelyAudiences"))&&0<h.length&&x(h.split(","),p(function(a){Rf(this,a,k,{L:k,ra:o})},n));x(Af(),p(function(a){N("Visitor","Found segment "+a);var b=Fb()[a];if(b&&b.audience_id){N("Visitor","Adding to audience "+
b.audience_id);Rf(this,b.audience_id,k,{z:o})}else if(b&&b.dimension_id){N("Visitor","Setting dimension value "+b.dimension_id);Sf(this,b.dimension_id,uf[a],o)}},n));W=tf;xd=o;vf.push(ad);sg.push(ad);n={$:$,activeExperiments:Nc||[],allExperiments:Gb(),all_experiments:Gb(),allVariations:C("variations")||{},data:Y,getElementsByClassName:document.getElementsByClassName,revision:C("revision"),variationIdsMap:Sd,variation_map:Td,variationMap:Td,variationNamesMap:Ud};h={};var z=Va(Md,h);L(h,{activate:q(Tc,
W),activateGeoDelayedExperiments:q(Wc,W),activateSiteCatalyst:qc,activateUniversalAnalytics:Gc,addToAudience:p(W.B,W),addToSegment:Bd,bindTrackElement:zg,bucketUser:Uc,bucketVisitor:Uc,clickTaleRecord:Jc,clickTalePlayback:Hc,customTag:Nd,delayDomReadyEval:Kg,delayPageviewTracking:ce,disable:Jd,log:ec,getAccountId:qb,getProjectId:Nb,googleAnalyticsCustomVariableScope:yc,integrationPrefix:Kc,optOut:xe,overrideUrl:Ke,push:z,removeFromAllAudiences:p(W.Za,W),removeFromAllSegments:Qd,removeFromAudience:p(W.W,
W),removeFromSegment:Od,sc_activate:qc,sc_svar:Lc,skipPageTracking:fe,optOutThirdPartyCookies:de,setDimensionValue:p(W.N,W),setUserId:he,storeThirdPartyData:Ad,timeout:Jd,trackEvent:ke,verbose:fc});C("slave")&&L(h,{get:Ld});h.removeFromReportableAudiences=ge;L(n,h);h=window.optimizely;J(h)&&x(h,function(a){z(a)});window.optimizely=n;V("apiInitialize");window.optimizely.iapi={evaluateSegments:q(yg,j)};var D=!C("force_variation");n=jf();x(n,function(a,b){var c=kf.exec(a);if(c)if(D){La=k;y("Query","Ignored parameter %s",
a)}else{c=c[1];Uc(c,b,k);Ib(c)?df(c,{force:k,skipPageviewTracking:k}):cd(c,{})||Tc(W,c,{force:k,skipPageviewTracking:k})}});La?gf("Force parameters are disabled for this project. See Project Code Settings."):(Zg.log(),Ha&&ab("https://"+Vb()+"/js/innie.js?_="+ +new Date),E&&(V("distributeExperiments"),x(Bb(),function(a){if(!ra(a,U))if(Ib(a))df(a);else if(bd(a)){if(cd(a,{objectType:"experiment"})){N("Distributor","Going to distribute "+Q(a));if(ed(a)){U=U||[];U.push(a)}}}else!Hb(a)&&!H(Nc,a)&&dd(a)}),
gd(),oe(),Qa||(0<Fa?setTimeout(function(){se()},Fa):se()),ne(),Ac()),Na&&(x(Dd,function(a){var b=Jb(a);N("Plan","Ignore experiment '"+b+"' ("+a+")")}),x(X,function(a){var b=R(a.id),c=Tb(a.id);N("Plan",Q(b)+' in variation "'+c+'" ('+a.id+")")})),Ha?Kd():E&&(V("beginEvaluate"),fd(),Kd(),dc(),!C("installation_verified")&&B&&(n="https://"+Vb()+"/account/snippet_installed?project_id="+Nb()+"&wxhr=true",N("Tracker","Making snippet verification request."),Dc(n,l))),setTimeout(function(){Wc(W)},2E3),setTimeout(function(){if(B){var a=
Ue;if(a.Ua){var b=Re(),c=Sa(),d=Ta(),e=Nb(),f=Ve,g=Te,h=Xe,m=ac(),n=Nc.concat(U).length,b=b.length,r;r=He("events")||[];var u=He("event_queue")||[];r=t(r).length+t(u).length;c={user:c,ppid:d,project:e,sync:f,timebase:g,render:h,sampleRate:m,numExps:n,numBehaviorEvents:b,behaviorEventsSize:r,codeVersion:C("version"),hasSlave:!!C("slave"),docVisibilityState:document.yb||document.webkitVisibilityState,wxhr:k};L(c,$e()||{});L(c,a.e);var w=["optimizelyAudiences","optimizelyBuckets","optimizelyCustomEvents",
"optimizelyPendingLogEvents","optimizelyReferrer","optimizelySegments"],z={},D=0,yd=0;x(ja(),function(a){if(a.name.indexOf("optimizely")===0){if(H(w,a.name)){N("RUM","Cookie size for "+a.name+": "+a.M.length);z[a.name+"Len"]=a.M.length}D=D+a.M.length}yd=yd+a.M.length});L(z,{allOptimizelyCookiesLen:D,allCookiesLen:yd});L(c,z||{});var tc={};x(O.pa()||{},function(a,b){tc["ls"+a]=b});L(c,tc);var a=[],sc;for(sc in c)Object.prototype.hasOwnProperty.call(c,sc)&&a.push(window.encodeURIComponent(sc)+"="+window.encodeURIComponent(c[sc]));
Dc("https://rum.optimizely.com/rum?"+a.join("&"),l)}}},3E3),N("Main","End of main"),V("mainEnd"))}}}
Zg.log=function(){N("Info","Is enabled: "+E);N("Info","Diagnostic enabled: false");N("Info","Force variation enabled: "+!!C("force_variation"));N("Info","Script to load: "+(Ea||"none"));N("Info","Browser type: "+Vd());N("Info","Browser version: "+Wd());var a=$d();"unknown"!==a&&N("Info","Mobile browser type: "+a);N("Info","New vs returning: "+Ie());N("Info","Source type: "+zf());N("Info","User ID: "+Sa())};Zg();
};
var SLAVE_CLIENT = {optimizely:[]};
optimizelyCode();
optly.Cleanse.finish();

}());
